Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

fsh api list should accept a positional argument #1012

Open
rabbah opened this issue Jun 14, 2018 · 0 comments
Open

fsh api list should accept a positional argument #1012

rabbah opened this issue Jun 14, 2018 · 0 comments
Labels

Comments

@rabbah
Copy link
Contributor

rabbah commented Jun 14, 2018

Note the error message that's printed... in any case, per wsk the positional argument is supported for filtering.

> fsh api list "/club" 
{
  isUsageError: true,
  name: "UsageError",
  message: {
  },
  raw: {
    message: "This command accepts no positional arguments",
    usage: {
      command: "list",
      strict: "list",
      docs: "list all APIs",
      example: "wsk api list",
      optional: [
        {
          name: "--limit",
          alias: "-l",
          numeric: true,
          docs: "show at most N"
        }, 
        {
          name: "--skip",
          alias: "-s",
          numeric: true,
          docs: "start from N"
        }, 
        {
          name: "--count",
          boolean: true,
          docs: "return a count, rather than the records"
        }
      ],
      parents: [
        {
          command: "wsk"
        }, 
        {
          command: "wsk api"
        }
      ]
    }
  },
  code: 497
}
@rabbah rabbah added the apigw label Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant