37 lines
655 B
Markdown
37 lines
655 B
Markdown
|
|
## arguments
|
|
|
|
* argparse : the standard way
|
|
* getopt : for C users
|
|
* baker : decorator overs functions
|
|
* [docopt](http://docopt.org/) : CLI description language ; python 3.6 ! ; nim port available
|
|
|
|
## TUI
|
|
|
|
* must display tables
|
|
* must display progress bar
|
|
|
|
## semver
|
|
|
|
|
|
* pip install semver https://pypi.org/project/semver/, https://github.com/python-semver/python-semver/releases
|
|
* pip install python-semanticversion
|
|
* most pakging tool : packaging https://packaging.pypa.io/en/latest/version.html, setuptool, distutils
|
|
|
|
## arch
|
|
|
|
use `os.uname()`
|
|
|
|
## downloader
|
|
|
|
* requests
|
|
|
|
## install
|
|
|
|
* unpack in ~/.local/programs/<cli>
|
|
* link exe in ~/.local/bin
|
|
|
|
|
|
|
|
|