Turn shell script into cli command
Project description
clias
Turn shell script into CLIs
Installation
Install this tool using pip
:
pip install clias
Usage
For help, run:
Usage: clias [OPTIONS] COMMAND [ARGS]...
Turn shell script into cli command
Options:
-d, --dryrun dry run mode, only show the rendered command
--version Show the version and exit.
--help Show this message and exit.
Commands:
info Show the clias config file path to be loaded
You can also use:
python -m clias --help
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd clias
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
make install-e
To run the tests:
make test
To run pre-commit to lint and format:
make check
make check
detects if cli help message in README.md
is outdated and updates it.
To update cli help message README.md
:
make readme
this runs cog on README.md and updates the help message inside it.
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
clias-0.1.0a1.tar.gz
(8.9 kB
view details)
Built Distribution
File details
Details for the file clias-0.1.0a1.tar.gz
.
File metadata
- Download URL: clias-0.1.0a1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87b57a7a069f2c74cd4a519316dab0ae932e40c312b784e3d8d2ff9273bcbfef |
|
MD5 | c86e3f275a771a90d7b7ba552d95e6f2 |
|
BLAKE2b-256 | 69ed783bf4845287f85c981de876390ad2c4a68a486b5187fba5ac59cd0dca16 |
File details
Details for the file clias-0.1.0a1-py3-none-any.whl
.
File metadata
- Download URL: clias-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2185f5bcac595cbf4b844d1f200197aca9007aca19cafd7dbb3d4b2a6fed3d3b |
|
MD5 | be058ca8fe73bb5f0138a0a45022e11d |
|
BLAKE2b-256 | 3afc8f30ef55d9eef722e59f621f31eb967d4a17718bc69369dffca9c7243da7 |