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

Add subcommand module with @go.subcommand_select function #58

Open
mbland opened this issue Dec 24, 2016 · 0 comments
Open

Add subcommand module with @go.subcommand_select function #58

mbland opened this issue Dec 24, 2016 · 0 comments
Assignees
Projects
Milestone

Comments

@mbland
Copy link
Owner

mbland commented Dec 24, 2016

The first implementation of demo-core (#57) will provide a list of available subcommands whenever it's actually executed, rather than one of its subcommands. When the argument list is empty, it's not an error; when it isn't empty, a subcommand wasn't found, hence it is an error.

The next iteration will include a select statement-based interface that will prompt the user to select a subcommand whenever the standard input (file descriptor zero) is a terminal. Since this behavior seems like it could be generally useful, I'll implement it as a module function.

mbland added a commit that referenced this issue Jan 4, 2017
First step of #58. Will be used to implement the upcoming `demo-core`
builtin.
@mbland mbland modified the milestone: v1.4.0 Jan 16, 2017
@mbland mbland self-assigned this Jan 16, 2017
@mbland mbland modified the milestones: v1.4.0, v1.5.0 Mar 21, 2017
@mbland mbland modified the milestones: v1.5.0, v1.6.0 Apr 5, 2017
@mbland mbland modified the milestones: v1.6.0, v1.8.0 Aug 27, 2017
@mbland mbland added this to Backlog in v1.8.0 Oct 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
v1.8.0
Backlog
Development

No branches or pull requests

1 participant