1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
Dot
===
A [path-and-address][repo] example that uses [docopt][] for its
command-line argument processing.
Usage
-----
To try it, simply clone the repo, install the requirements, and run the script:
```bash
$ git clone git@github.com:joeyespo/path-and-address.git
$ cd path-and-address/examples/dot
$ pip install -r requirements.txt
```
And try some arguments:
```bash
$ dot.py .
* Serving . on http://localhost:5000/
$ dot.py 80
* Serving . on http://localhost:80/
$ dot.py . 0.0.0.0:80
* Serving . on http://0.0.0.0:80/
```
[repo]: https://github.com/joeyespo/path-and-address
[docopt]: http://docopt.org
[localhost]: http://localhost:5000/
|