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

Can’t use .types #56

Open
sabberworm opened this issue Apr 25, 2016 · 2 comments
Open

Can’t use .types #56

sabberworm opened this issue Apr 25, 2016 · 2 comments

Comments

@sabberworm
Copy link

sabberworm commented Apr 25, 2016

The Readme says:

Vantage is an extension of Vorpal, and so inherits all of its properties and methods.

However, I don’t seem to be able to use vorpal’s types method as specified here:

TypeError: vantage.command(...).description(...).types is not a function
@sabberworm
Copy link
Author

sabberworm commented May 4, 2016

Also, without types (I’m not sure if this is a separate bug), I get vantage’s “Missing required argument” error for totally valid arguments if they happen to be 0:

$ add slot 177sfr 20 00

Missing required argument. Showing Help:

Usage: add slot [options] [amount]

@fogine
Copy link

fogine commented Jan 20, 2017

However, I don’t seem to be able to use vorpal’s types method as specified here

Last released version of vantage (to npm) uses old version of vorpal v1.0.5 which does not have the feature implemented.

Also, without types (I’m not sure if this is a separate bug), I get vantage’s “Missing required argument” error for totally valid arguments if they happen to be 0:

This is a bug. I created separate issue #69 for it.

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

2 participants