https://github.com/cob16/example-cli-and-lib
A Python progam that is used by a cli component in a separate package. Made for an assignment.
https://github.com/cob16/example-cli-and-lib
cli example python
Last synced: 10 months ago
JSON representation
A Python progam that is used by a cli component in a separate package. Made for an assignment.
- Host: GitHub
- URL: https://github.com/cob16/example-cli-and-lib
- Owner: cob16
- License: mit
- Created: 2017-06-14T19:47:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T19:52:11.000Z (over 8 years ago)
- Last Synced: 2025-02-12T08:40:37.422Z (12 months ago)
- Topics: cli, example, python
- Language: Python
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Broadcast cli
This is a educational test package that was used for learning purposes by the author
It is cli python application that allows human communication with the a rails API.
The idea being that a user can send a 'broadcast' (i.e a text message) that will
be sent to a number of social medea, email, blogs ect at the same time by the server.
### To install
- `pip install .`
- `broadcast -h`
##Usage
```bash
usage: broadcast [-h] {list,send,show} ...
Sends and receives broadcasts (multi social network posts) from a server. Use
[subcommand] -h to get information of a command
optional arguments:
-h, --help show this help message and exit
Available subcommands:
{list,send,show}
list Gets a list of all broadcasts made by the current user
send Sends a new broadcast
show Show all detail of a broadcast
```
### Running tests
- `pip install .[test]`
- `nosetests`
## With help from
- https://github.com/kennethreitz/clint/tree/master/examples