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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65a4ff16a7c0da0e7cadd2477f2f6535a792aab86c35a46d63e2118195cd4bb |
|
MD5 | 90d235685d85264e5f62a36dafe744b9 |
|
BLAKE2b-256 | 8d1940603235329d01f6499dfbc895fdb7c6c67ddbcfbabab7d6b226bbd91718 |
Close
Hashes for command_known_as_dan-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74d4e3184d76ef1cf0fb8266dfcc988f75583fbe85c73c3fa5f953f3234526a8 |
|
MD5 | 8c7056a3d3663e9fa686891031f9247b |
|
BLAKE2b-256 | b6efdd052c22a8097f40e3c3967a96e43e52b116fd980ad6c2666728ff037fdb |