Command is a simple framework for handling command execution within your python application.
Project description
About
Command is a simple framework for handling command execution within your Python application.
Note: This is a Javascript => Python port of https://github.com/known-as-dan/command-npm
Usage
Recreating the common "echo" command using Command & Python:
from command import command
def echo(args):
separator = " "
message = separator.join(args)
print(message)
command.Command("echo", "<message>", "Prints out a message.", echo)
command.init()
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
Built Distribution
Close
Hashes for command-known-as-dan-1.2.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6be2b45b81af96a7842ecc297ec072caa82594ae1164c95f8a663ae5dc7a9da8 |
|
MD5 | 044f59f2cc8be498da5e5f7432e2c15f |
|
BLAKE2b-256 | 02aecb8fdc7783e96bf1a2df3432ad2ac046612e3622dcab2aa721f8ac9488e4 |
Close
Hashes for command_known_as_dan-1.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e4df479c473f471a8ac383aa055c8b71c67ffbbff53fdb69b08ef6e5a6f3ede |
|
MD5 | f872ba6532adf883d892f370752be37b |
|
BLAKE2b-256 | c62d2db695426ffcbd7dbe695eac6f4d61121af253043b30732fbcf12a33ef59 |