Skip to content

dewere/golang-command-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Golang command parser [WIP]

Command parser inspired by discord.py system.

Usage

parser.ParseCommand(*command*)

Examples (WIP)

parser.ParseCommand("!help") // -> [ "!help" ]
parser.ParseCommand("!help 1 2 3") // -> [ "!help", "1", "2", "3" ]
parser.ParseCommand("!help \"Hello, Mike!\"") // -> [ "!help", "Hello, Mike!" ]
parser.ParseCommand("!help    1") // -> [ "!help", "1" ]

License

Apache 2.0

About

Command parser inspired by discord.py system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages