Command-line interface for learning the Click package
Project description
Multitool is a command-line interface template for learning how to package command-line tools using the Click package.
To learn more about Click, see the docs: https://click.palletsprojects.com/
To create a virtual environment:
pip3 install virtualenv
virtualenv venv
source venv/bin/activate
pip3 install -e .
python3 -m multitool -V
python3 -m multitool -h # or just `multitool -h`
pip3 install -r requirements.txt
./runtests.sh
deactivate
Usage
Usage: multitool [OPTIONS] COMMAND [ARGS]...
First paragraph.
This is a very long second paragraph and as you can see wrapped very early
in the source text but will be rewrapped to the terminal width in the
final output.
This is
a paragraph
without rewrapping.
And this is a paragraph that will be rewrapped again.
Options:
-V, --version Show the version and exit.
--repo-home TEXT
--debug / --no-debug
-h, --help Show this message and exit.
Commands:
ansi-colors
callbacks-eager
cat
...snip...
sync
touch Print FILENAME if the file exists.
write-file Write 'Hello World!' to FILENAME.
encrypt
Non-interactive:
$ pym multitool encrypt --password asdf
Encrypting password to nfqs
Interactive:
$ pym multitool encrypt
Password:
Repeat for confirmation:
Encrypting password to nfqs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
multitool-0.1.2.tar.gz
(9.3 kB
view hashes)
Built Distribution
multitool-0.1.2-py3-none-any.whl
(11.6 kB
view hashes)
Close
Hashes for multitool-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 175a5ccf390232341e6842803c17418fdac5adfec485b3709d19caa1ca254a0b |
|
MD5 | f47689624aff77fdb73d5831fab97cd4 |
|
BLAKE2b-256 | a12e6d857aed840ac5cbf0533699d676b84f75dd527b36a5f825f6d71c2df056 |