A simple command line client for Samson, written in Rust.
Clone this repository, and run:
# Clone the repository, then
$ cargo run
For usage information execute samsonr --help
. To start with, create a new configuration file in $XDG_CONFIG_HOME/samsonr/config.toml
:
url = "<url-to-your-samson-instance>"
token = "<authorization-token>" # Optional
project_id = 2 # Optional
The following commands are available:
projects
: List available projects on this instancestages
: List stages for a specific projectdeploy
: Deploy the specified reference to a stage. If no reference is specified, falls back to the current branch.
Merge requests and bug reports are welcome. This is my first time working with Rust, so be kind ❤️