A command-line interface for interacting with the CIDC.
Project description
Branch | Status | License |
---|---|---|
Master |
CIDC-CLI
Command line tool for interfacing with the CIDC API.
Setup
Install the CIDC-CLI
pip3 install cidc-cli
Run the CIDC-CLI
To display the help message for the CLI, run:
cidc
To authenticate with the CIDC API, run:
cidc login [token]
Development
For local development, first install the development dependencies:
pip install -r requirements.dev.txt
Then, install and configure the pre-commit hooks:
pre-commit install
JIRA Integration
To set-up the git hook for JIRA integration, run:
ln -s ../../.githooks/commit-msg .git/hooks/commit-msg
chmod +x .git/hooks/commit-msg
rm .git/hooks/commit-msg.sample
This symbolic link is necessary to correctly link files in .githooks
to .git/hooks
. Note that setting the core.hooksPath
configuration variable would lead to pre-commit failing. The commit-msg
hook runs after the pre-commit
hook, hence the two are de-coupled in this workflow.
To associate a commit with an issue, you will need to reference the JIRA Issue key (For eg 'CIDC-1111') in the corresponding commit message.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cidc_cli-0.9.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d05bb6852d85f14647b3bb54080a13c186ee6cf1c844f3b6756178d7b6a81448 |
|
MD5 | 46a1fd6ed447b44d21aec19901f09622 |
|
BLAKE2b-256 | b844c5430fd3f62b19aa0cd02a7208de4cf8af5ec1b2485952a1352f6165c179 |