vantage icon indicating copy to clipboard operation
vantage copied to clipboard

Can’t use `.types`

Open sabberworm opened this issue 9 years ago • 2 comments

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 avatar Apr 25 '16 07:04 sabberworm

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]

sabberworm avatar May 04 '16 21:05 sabberworm

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.

fogine avatar Jan 20 '17 15:01 fogine