Pythonic argument parser
Project description
Argument parser for humans
This library implements simple argument parser, based on function signature and docstring messages
Usage
Usage example:
>>> from consoleargs import command >>> @command >>> def main(destination, name=None, verbose=0): >>> """ >>> :param destination: Where to look >>> :param name: Whot to search >>> :param verbose: How much to talk >>> """ >>> print destination, name, verbose
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
consoleargs-0.4.tar.gz
(2.6 kB
view details)
File details
Details for the file consoleargs-0.4.tar.gz
.
File metadata
- Download URL: consoleargs-0.4.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6341a357f7f7a14ae2209ffdab4a935b7fcbff31714451df6ad870f15347409b |
|
MD5 | 47375d5494188ce1a9dc009f36b86bb5 |
|
BLAKE2b-256 | 502ccb9de29ffa68403aef79ab32b362a1f0c174ad93abfc2597bf058f7e34f6 |