https://github.com/smok-serwis/bunia
Library for writing commands with universal interfaces
https://github.com/smok-serwis/bunia
command-line-parser commandline-interface
Last synced: 7 months ago
JSON representation
Library for writing commands with universal interfaces
- Host: GitHub
- URL: https://github.com/smok-serwis/bunia
- Owner: smok-serwis
- License: mit
- Created: 2016-12-19T18:31:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-04-28T13:33:46.000Z (about 4 years ago)
- Last Synced: 2025-01-29T09:48:49.191Z (over 1 year ago)
- Topics: command-line-parser, commandline-interface
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bunia
[](https://badge.fury.io/py/bunia)
[](https://travis-ci.org/smok-serwis/bunia)
[](https://codeclimate.com/github/smok-serwis/bunia)
[](https://codeclimate.com/github/smok-serwis/bunia/coverage)
[]()
[]()
[]()
**bunia** is a library, that allows you to write multi-interface commands.
This means that the same command can be launched using eg. console, Web GUI, e-mail, SMS, or any other provider you might wish.
You specify a command as a class.
## Integrated runner
To run a command from console, type:
```bash
python -m bunia.runner.console mymodule:MyCommandClass ... arguments ...
```