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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ff32c44d985b45a64e0a60de98d74f903c63aeaa3ae1d407eafe99b340fb12f |
|
MD5 | 8ef51f23ae2575a9d36ec66eaaa12dbb |
|
BLAKE2b-256 | 9d676984dc2afc35a3585711a156abed799a94fa919a317f65d730a0d8b70a35 |
Close
Hashes for command_known_as_dan-1.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a391588404465ac359522888b9d893a168adf5e0ee9ba6005bccd2ded0e6b7a |
|
MD5 | 1a5a23a807ac15b3dbbac364275b32c2 |
|
BLAKE2b-256 | 05eb9aa93205b2be01aa64ba5aed750210c725c83a123e11c46eecc8892a18c0 |