pycopa

A dead simple python module to parse command line arguments


Keywords
command, line, command-line, parser
License
MIT
Install
pip install pycopa==0.3

Documentation

pycopa

A dead simple python module to parse command line arguments

from pycopa import parse
parse("/say This is a test number:one done:true")

# result
{ "command": "say",
  "arg": "This is a test",
  "number": "one", "done": "true" }