Skip to content

Add support for a subcommand - #26

Merged
nblumhardt merged 5 commits into
datalust:devfrom
andymac4182:subcommand
Feb 25, 2018
Merged

Add support for a subcommand#26
nblumhardt merged 5 commits into
datalust:devfrom
andymac4182:subcommand

Conversation

@andymac4182

Copy link
Copy Markdown
Contributor

This is designed to allow for the first proposal in #2.

I am building a proposal for API Key management which is where this came from.

seqcli apikey list
seqcli apikey get -n="ApplicationName"

@andymac4182 andymac4182 changed the title Add support for a subcommand by hyphenating command name Add support for a subcommand Feb 24, 2018
@nblumhardt

Copy link
Copy Markdown
Member

Thanks for the PR! Looks great 👍 will check it out in the morning with fresh eyes :-)

@andymac4182

Copy link
Copy Markdown
Contributor Author

From my perspective this is good to go now. There should be tests for the new logic and ensuring I didn't break old logic.

@nblumhardt

Copy link
Copy Markdown
Member

I think we'll need to add some more tweaks to get:

seqcli help

and

seqcli help apikey

working with it, but seems like a good time to push this through to unblock #27 :-)

Thanks again!

@nblumhardt
nblumhardt merged commit 9f2f890 into datalust:dev Feb 25, 2018
@andymac4182

Copy link
Copy Markdown
Contributor Author

I will have a look at help to see if I can get that working.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants