genie-cli
Version, currently 0.2.112 versions
- 0.2.1latestMar 26, 2018
- 0.2.0not indexedMar 26, 2018
- 0.1.9not indexedMar 26, 2018
- 0.1.8not indexedMar 26, 2018
- 0.1.7not indexedMar 26, 2018
- 0.1.6not indexedMar 26, 2018
- 0.1.5not indexedMar 26, 2018
- 0.1.4not indexedMar 26, 2018
- 0.1.3not indexedMar 26, 2018
- 0.1.2not indexedMar 26, 2018
- 0.1.1not indexedMar 26, 2018
- 0.1.0not indexedMar 26, 2018
github.com/taylorfinnell/genie-cli
Netflix Genie CLI
4 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
genie-cli:
github: taylorfinnell/genie-cli
version: ~> 0.2.1Then run:
shards installshard.yml
- Crystal
0.23.1- License
- MIT
- Author
- Taylor Finnell <tmfinnell@gmail.com>
- Target
geniefrom src/genie.cr
Dependencies
Runtime Dependencies
- admiral*github: jwaldrip/admiral.cr
- terminal_table*github: benoist/terminal_table.cr
Development Dependencies
- webmock*github: manastech/webmock.cr, branch: masterdev
README
# genie-cli [](https://circleci.com/gh/taylorfinnell/genie-cli) Small CLI for Netflix's Genie. ## Installation ##### From GitHub 1) Install Crystal `brew install crystal-lang` 1) Download a release from the Github Releases. 1) Add binary to PATH and make it executable ##### From Source 1) Install Crystal `brew install crystal-lang` 1) Clone repository 1) `crystal build src/genie.cr --release` 1) Download a release from the Github Releases. 1) Add binary to PATH and make it executable ##### From Install Script 1) Install Crystal `brew install crystal-lang` 1) `curl https://raw.githubusercontent.com/taylorfinnell/genie-cli/master/install | bash -s` ## Configuration By default the CLI looks for configuration at `~/.genie.yml`. Optionally, each command can specify an alternate configuration via a `--env` or `-e` flag. For example: `genie ls -e prod` Would look for `~/.genie.prod.yml` The configuration file looks like the following. ``` host: genie-host-url:7000 credentials: username: tfinnell password: password ``` Credentials are only required if you have Basic auth enabled. ## Optional Configuration You may set a `printer` key to either `tabbed` or `table` to set the default output type. ``` printer: tabbed ``` You may set the default output columns. ``` columns: - id - status - name ``` You may choose to truncate the job name after a certain number of characters. ``` name_length: 25 ``` ## Usage **List Genie Jobs** ``` genie ls ``` You may show job progress with the `-p` flag. You may also limit the results with the `-l` flag. ``` genie ls -l 5 -p ``` **Search for a Job** ``` genie search %some-name% ``` You may show job progress with the `-p` flag. You may also limit the results with the `-l` flag. ``` genie search %jim% -l 5 -p ``` **Get Job Status** ``` genie status <id> ``` You may show job progress with the `-p` flag. You may also limit the results with the `-l` flag. ``` genie status <id> -l 5 -p ``` **Open Job Output** ``` genie open <id> ``` **Kill a Job** ``` genie kill <id> ``` ## More examples **Tabbed Output** You may specify the output format with a `--printer` flag. Currently only `table` and `tabbed` are valid printer values. Tabbed output is useful for piping. `genie search %job% --printer tabbed | cut -d$'\t' -f 1 | tail +2 | xargs genie kill` **Showing only certain columns in output** You may choose to only show certain columns in the output via a `--columns` flag. `genie ls --columns id --columns name` **Hide Headers** You may choose to hide the headers with the `-h` flag. `genie search %Matched% --c id --printer tabbed -h | xargs genie kill`
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.1- Tagged
- Mar 26, 2018
- Commit
6affa0ecf92c- Crystal
0.23.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/taylorfinnell/genie-cli
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 12