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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06e0864d6133882145503765ddabcd4b33a710671a5e41fa56ad3fddb8a0b8c |
|
MD5 | cc0ed9930048be5434c3b7bfed8c57be |
|
BLAKE2b-256 | 3d9cb1e8d1439f24834edbc1a09665d77a74a7964473d8683b242801e0cc89c1 |
Close
Hashes for command_known_as_dan-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f36e756a6a5084e53f74a70bfc1bcbbd9222b4f4499741ae1b5bccec3913bedb |
|
MD5 | 59fc63c076973b069a691c4e58c3f5a7 |
|
BLAKE2b-256 | 7f3a7ba73fa8a54028280072ba3755c11b7b7b1e0861ba07c86cbe13e7f136d3 |