A easy to use, extremely configurable shell/terminal command manager for python.
Project description
Commanger for python
A easy to use, extremely configurable shell/terminal command manager for python.
At first it may just look like any other command line parser but it has so much more! You don't have to ever configure the parsing yourself, you can just tell it what you wan't. It also deals with stray non specfied arguments and I am always adding more!
Basic example:
Importation and initialization
from commanger import commanger
cmd = commanger("cmd")
The main Function and config
cmd.basicConfig([1,2,"b"]) #set a basic config
@cmd.command #Attach the main func
def main(args): #Take in the args
print(args)
Places:
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
commanger-0.1.3.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file commanger-0.1.3.tar.gz
.
File metadata
- Download URL: commanger-0.1.3.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.8.12 Linux/5.15.0-1012-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a82643ca9161d29ed739c97a1b8a382d7404e899dba62058749bb0d4883d0fe |
|
MD5 | e55a3dd1a34fa852c9bba96dc4d16565 |
|
BLAKE2b-256 | e8245535ab6cf35a0d6f5d890cc46fc22ff3ef20a1396b90e3ef0316c5796bf5 |
File details
Details for the file commanger-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: commanger-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.8.12 Linux/5.15.0-1012-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ac0587cda36d5310bdc6c64610bf98bd22f75bc357491c43313e7e617ced5b3 |
|
MD5 | 1b8347230e26d7dc864b47762f637c34 |
|
BLAKE2b-256 | 37ac79e350d63e07e15745ce6e5a8258e6f8e7e99d581b4f3bf2252c81840541 |