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:
$ multitool encrypt --password asdf
Encrypting password to nfqs
Interactive:
$ 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.3.tar.gz
(9.3 kB
view details)
Built Distribution
multitool-0.1.3-py3-none-any.whl
(11.6 kB
view details)
File details
Details for the file multitool-0.1.3.tar.gz
.
File metadata
- Download URL: multitool-0.1.3.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccfdecdd6e29f1b219e6bcb34b8f2a1ded72b28e9e8a4d21dd7420868e16e81c |
|
MD5 | 1063c572fc9ce63c1f20293fcc3681bc |
|
BLAKE2b-256 | a54204f6900b9b5268d620a7ff87e08af6ec994ddafe6083fc816f1ff2801f7b |
Provenance
File details
Details for the file multitool-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: multitool-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756607e84fdd0274d173dcd7c5b98023755aa3d730c488115b4ae59a292c2460 |
|
MD5 | 682bee2f99348afc3148530be3ad55f6 |
|
BLAKE2b-256 | 21f233b63e15a0bf2cb6efdd1621ec5c546a75767eb1e789c7a12d51171612c1 |