- python -m pip install requests --user
- python -m pip install fire --user
- python -m pip install configparser --user
- chmod +x notification.py
- text - Requerido
- title - Opcional
- footer - Opcional
- status - Opcional
- username - Opcional
- field - Opcional
-
status
- good [green] 'valor por default'
- warning [yellow]
- danger [red]
- [add color hex]
-
username
- deploy [Amazon EC2]
- pull-request [Amazon CodeCommit]
- notification [Application]
- deploy
- pull-request
- war
- notification
- deploy
- notification.py --text="El despligue de en las instancias de produccion se ha realizado con exito" --footer="WAR 2.6.12" deploy
- notification.py --text="Ocurrio un problema con el ultimo WAR no inicia session" --footer="WAR 2.6.12" --status="danger" deploy
- pull-request
- notification.py --text="Se solicita el siguiente pull-request" --title="Solicitud de pull-request CodeCommit"--footer="feature-new-user -> dev" pull-request
- notification.py --text="El pull request tiene unos detalles que correguir antes de confirmar"--footer="feature-payments -> dev" --status="warning" pull-request
- war
- notification.py --text="Se ha creado el siguiente war para despliegue" --field="http://host.domain.com" --footer="2.5.4" war
- notification
- notification.py --text="Este solo es un mensaje para el grupo" notification
- notification.py --text="Este solo es un mensaje para el grupo" --username="Terminal Unix" notification