Skip to content

Commit

Permalink
document CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Bradshaw committed Jan 7, 2020
1 parent 855bb92 commit f7f6d8f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ STOMP meets `bottle.py`

`pip install shattered`

### CLI

`shattered run` will run a Shattered app, using one of the following (in order):

1. The `--app` flag.
2. The `SHATTERED_APP` environment variable.
3. `app.py` as the application module name.

Use `shattered config` to see the current configuration (same app resolution as `run` command).

### Echo Server

`app.py`
Expand Down
10 changes: 10 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ toc::[]

`pip install shattered`

=== CLI

`shattered run` will run a Shattered app, using one of the following (in order):

1. The `--app` flag.
2. The `SHATTERED_APP` environment variable.
3. `app.py` as the application module name.

Use `shattered config` to see the current configuration (same app resolution as `run` command).

=== Echo Server

`app.py`
Expand Down

0 comments on commit f7f6d8f

Please sign in to comment.