mbrubeck / compleat

Generate command-line completions using a simple DSL.
http://limpet.net/mbrubeck/2009/10/30/compleat.html
472 stars 18 forks source link

Colons in an atom? #20

Open cmhamill opened 7 years ago

cmhamill commented 7 years ago

Hello (again),

I'm trying to write a usage file for the Heroku command line tool, and it uses a colon as a namespace separator in its command line. I'm trying to write a usage file along these lines:

heroku access <opts>;
heroku access:add <email> <opts>;

I'm not sure if a colon in an atom is disallowed, but escaping the colon with \ doesn't work. Is this possible? My Haskell is a bit rusty so I'm not able to follow Usage.hs easily. Any help would be appreciated.

Thanks!