Skip to content

Commit

Permalink
docs(usage): update usage output in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Jan 19, 2021
1 parent 6ab20c2 commit 4ebb752
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,35 @@ If you run **ddb** with no argument, the usage is displayed.
!!! info "ddb usage"
```
usage: ddb [-h] [-v] [-vv] [-s] [-x] [-c] [-w] [-ff] [--version]
{init,configure,features,config,info,run,self-update,activate,deactivate,check-activated} ...
{init,configure,features,config,info,self-update,run,activate,deactivate,check-activated}
...
positional arguments:
{init,configure,features,config,info,run,self-update,activate,deactivate,check-activated}
Available commands
positional arguments:
{init,configure,features,config,info,self-update,run,activate,deactivate,check-activated}
Available commands
init Initialize the environment
configure Configure the environment
features List enabled features
config Display effective configuration
info Display useful information
run Display command to run project binary
self-update Update ddb to latest version
run Display command to run project binary
activate Write a shell script to be executed to activate
environment
environment
deactivate Write a shell script to be executed to deactivate
environment
environment
check-activated Check if project is activated in current shell
optional arguments:
-h, --help show this help message and exit
-v, --verbose Enable more logs
-vv, --very-verbose Enable even more logs
-s, --silent Disable all logs
-x, --exceptions Display exceptions on errors
-c, --clear-cache Clear all used caches
-w, --watch Enable watch mode (hot reload of generated files)
-ff, --fail-fast Stop on first error
--version Display the ddb version and check for new ones.
optional arguments:
-h, --help show this help message and exit
-v, --verbose Enable more logs
-vv, --very-verbose Enable even more logs
-s, --silent Disable all logs
-x, --exceptions Display exceptions on errors
-c, --clear-cache Clear all used caches
-w, --watch Enable watch mode (hot reload of generated files)
-ff, --fail-fast Stop on first error
--version Display the ddb version and check for new ones.
```

Expand Down

0 comments on commit 4ebb752

Please sign in to comment.