The stock CLI¶
Stockroom introduces a high level, minimalistic command line utility called
It is built to be analogous to what
git brings as functionalities
through it’s CLIs.
$ stock --help in your terminal when you stuck!
stock we introduces a minimal set of commands which are necessary to run a
git + stockroom workflow. You will also be able to setup github hooks for few
stock actions in the upcoming release.
stock [OPTIONS] COMMAND [ARGS]...
display current stockroom version
It does a stock commit. Stock commit consists of three actions
- Make a hangar commit and add the changed data to the repository
- Update the head.stock file which should be tracked with a git commit
- [Optional] Make a git commit and add the head.stock file to git history
stock commit [OPTIONS]
The commit message. If multiple arguments are provided, each of them gets converted into a new line
Init stockroom repository. A stockroom repository is a hangar repository plus a head.stock that will be tracked by git.
stock init [OPTIONS]
First and last name of user
Email address of the user
overwrite a repository if it exists at the current path