Skip to content

Commit

Permalink
added prod flags to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
theNewFlesh committed Apr 8, 2024
1 parent c3dd98b commit c29dbf7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
24 changes: 17 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -710,18 +710,28 @@ class Raw001(SequenceSpecificationBase):
```

# Production CLI

Hidebound comes with a command line interface defined in command.py.

Its usage pattern is: `hidebound COMMAND [FLAGS] [-h --help]`

## Commands
| Command | Description | Flags |
| --------------- | ------------------------------------------------------------------------- | ---------------------------------- |
| bash-completion | Prints BASH completion code to be written to a _hidebound completion file | |
| config | Prints hidebound config | |
| serve | Runs a hidebound server | --port --timeout --debug --testing |
| zsh-completion | Prints ZSH completion code to be written to a _hidebound completion file | |

| Command | Description |
| --------------- | ------------------------------------------------------------------------- |
| bash-completion | Prints BASH completion code to be written to a _hidebound completion file |
| config | Prints hidebound config |
| serve | Runs a hidebound server |
| zsh-completion | Prints ZSH completion code to be written to a _hidebound completion file |

## Flags

| Command | Flag | Description | Default |
| ------- | --------- | ------------------------ | ------- |
| serve | --port | Server port | 8080 |
| serve | --timeout | Gunicorn timeout | 0 |
| serve | --testing | Testing mode | False |
| serve | --debug | Debug mode (no gunicorn) | False |
| all | --help | Show help message | - |

---

Expand Down
2 changes: 1 addition & 1 deletion sphinx/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. hidebound documentation master file
Welcome to hidebound's documentation!
====================================
=====================================
.. toctree::
:maxdepth: 1
:caption: Getting Started
Expand Down

0 comments on commit c29dbf7

Please sign in to comment.