Skip to main content

No project description provided

Project description

{name}

{description}

installation

Run the following to install:

pip install {installation}

or

python -m pip install {installation}

if that didn't work, try replacing pip with pip3.

need help? or have bugs to report, let me know in here

simple example

from UnknownName.commander import CommandLine
cmder = CommandLine() # class

@cmder.command(name="foo") # if name is None take function name
def foo(cmd, num):
  # do stuff with the cmd and num
  ...

@cmder.command(description="Calculator f(num) = num * 5")
def bar(num:int):
  return num*5

cmder.process_command("foo kick 10")

docs

Soon

Change Log

0.1.0 (2022/11/16)

  • First Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

commandkit-0.1.0.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

commandkit-0.1.0-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page