Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands are not disambiguated #193

Open
deepfire opened this issue Mar 17, 2016 · 1 comment
Open

Commands are not disambiguated #193

deepfire opened this issue Mar 17, 2016 · 1 comment

Comments

@deepfire
Copy link

Commands are not disambiguated (while options are):

params_parser ∷ Parser Params
params_parser =
    Params
    <$> strOption (long "server"  <> metavar "HOSTNAME" <> help "Server")
    <*> strOption (long "login"   <> metavar "LOGIN" <> help "Username")
    <*> hsubparser
            (command "branches"
             (info
              (Branches
               <$> subparser ((command "git"    (info (pure Git)    $ progDesc "Git branches")) <>
                              (command "jira"     (info (pure Jira)     $ progDesc "Jira branches"))))
              (fullDesc <> progDesc "Print and intersect git/jira branches")))
@HuwCampbell
Copy link
Collaborator

Indeed. I don't think this is a very high priority, but I can see some might find it useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants