Skip to content

[Meta] CLI V3 #10

@thehappybug

Description

@thehappybug

Tier 1

These commands should go out in the first release. For more details about these commands, check out the spec document.

Priority goes to implementing the standalone commands first that is the commands that don't deal with API Entity/Group IDs. Our goal is to first cover the cases where the CI/CD pipeline creates artifacts without storing state in the website/dashboard.

Here's an priority-sorted list of commands (only implement the variant of these commands that does not deal with APIs on the website):

  • auth:login
  • auth:logout
  • auth:status
  • api:transform
  • api:validate
  • sdk:generate
  • portal:generate

After these commands are done, we'll tackle the state-oriented commands that is the ones where the API spec is stored in the dashboard.

  • api:import
  • portal:publish

Tier 2

And these which have lower priority than the ones above. Also, they have a lot more unknown (issues to be resolved) compared to the commands above:

  • api:list
  • api:set
  • api:transform*
  • api:validate*
  • sdk:list
  • sdk:generate*
  • sdk:download
  • package:publish
  • package:list
  • package:info
  • package:update
  • portal:unpublish
  • portal:scaffold
  • portal:serve
  • issue:report

(*) This command also has a stateless version.

Tier 3

  • portal:quickstart
  • sdk:quickstart
  • portal:add --toc
    • Help the user generate an exhaustive list of all endpoints in the spec
  • portal:add --recipe
  • portal:add --guide

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions