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.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84052dea87d51043060987503367825cdf700e35f2e715ca792bbe8dc4b77d38 |
|
MD5 | 00f57e67668f7c588ef8e1ff1cbd3a20 |
|
BLAKE2b-256 | 51f4144641b4a68c11776d9e33134f5e17fb01c4b9b42f9d0d44aaa233e6c937 |
Close
Hashes for command_known_as_dan-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a45870fd303d8ba0ccb52f42ad126f18a877ff76dfe0c2bc866f408acb23a9e0 |
|
MD5 | aba431b9e698936205b258ba0a1180cd |
|
BLAKE2b-256 | 60bd3e407279afe7b056395bc2514b6a36bec03e120bdfcdbefb4275f0d29e5e |