Deriv CLI is a front-end smart tool.
npm install -g deriv-cli
After installing the Deriv CLI you need to configure it. Deriv CLI needs your Redmine token to work properly.
::: You can get your Redmine token from your account setting page. :::
For configuring the Deriv CLI you should run the config
command:
dcli config
This command will ask you to enter your API token, then it will create a file in your home directory to store the token. Now it is ready to use!
This command can be used for:
- Creating branch based on this doc.
dcli branch -c -i <issue_number>
-c
is the option to create a branch.-i
is the option that accepts the issue card number. It is used to fetch data about the card for creating the branch.