node-triton icon indicating copy to clipboard operation
node-triton copied to clipboard

`triton package help list` supported fields not accurate

Open travispaul opened this issue 8 years ago • 0 comments

The list of supported fields as shown in the output of triton package help list do not match what node-triton considers valid filters or what is available to CloudAPI.

$ triton package help list
[snip]
Filters:
    FIELD=VALUE        Field equality filter. Supported fields:
                       account, owner, state, name, os, and type.
[snip]

Attempting to filter on account, owner, state, os, or type will return an "invalid filter name" error:

$ triton package list account=foo
triton package list: error (Usage): invalid filter name: "account" (must be one of "name", "memory", "disk", "swap", "lwps", "version", "vcpus", "group")
usage: triton package list [FILTERS]

travispaul avatar Apr 17 '17 01:04 travispaul