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

How to make sub commands without the multi-word command feature? #347

Open
trusktr opened this issue Feb 27, 2020 · 0 comments
Open

How to make sub commands without the multi-word command feature? #347

trusktr opened this issue Feb 27, 2020 · 0 comments

Comments

@trusktr
Copy link

trusktr commented Feb 27, 2020

The docs aren't too clear. Maybe it doesn't exist.

I know about multi-word commands, https://github.com/dthree/vorpal/wiki/api-%7C-vorpal.command#multi-word-commands.

But what I'm wondering about is something more along the lines of describing commands with nested functions, or with file hierarchy.

This is the feature in Yargs:

Is multi-word the only way in Vorpal?

@trusktr trusktr changed the title How to make sub commands? How to make sub commands without the multi-word command feature? Feb 27, 2020
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

No branches or pull requests

1 participant