https://github.com/risingstack/trace-cli
CLI for Trace by RisingStack: deployhook
https://github.com/risingstack/trace-cli
Last synced: 6 months ago
JSON representation
CLI for Trace by RisingStack: deployhook
- Host: GitHub
- URL: https://github.com/risingstack/trace-cli
- Owner: RisingStack
- License: other
- Created: 2016-07-17T06:05:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-01T15:51:23.000Z (almost 9 years ago)
- Last Synced: 2025-06-09T12:44:54.323Z (7 months ago)
- Language: JavaScript
- Homepage: https://trace.risingstack.com
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# trace-cli
Command line utility for [Trace by RisingStack](https://trace.risingstack.com/) monitoring tool.
## requirements
```
node >= 4.x.x
```
## install
```
npm i -g @risingstack/trace-cli
```
## usage
```
Usage: trace-cli [subcommand]
Commands:
deployhook Sends deployhook to highlight your application versions in Trace
help [cmd] display help for [cmd]
Example: trace-cli deployhook --git
Options:
-h, --help output usage information
-V, --version output the version number
```
### deployhook
Sends deploy hook to highlight revisions on various Trace features like metrics charts.
```
Usage: trace-cli deployhook
Options:
-h, --help output usage information
-g, --git [value] use last GIT commit for revision, description and user
-r, --revision [value] deploy revision, like GIT short hash
-m, --message [value] deploy description, like commit message
-u, --user [value] deploy created by, like committer
--api-key [value] TRACE_API_KEY from Trace
--service-name [value] TRACE_SERVICE_NAME from Trace
```
You can also pass api-key and service name as environment variables like: `TRACE_API_KEY` and `TRACE_SERVICE_NAME`.