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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant