dojo/cli

Rewrite command discovery and command list

Closed this issue · 4 comments

Enhancement

When working on the command list POC I came across issues with the current CLI implementation which have been raised. I feel that it is time to rewrite the command discovery portion of the CLI to make it easier to combine installed commands, available commands and built in commands into a single output that the user can work with.
I believe that our cli interfaces are stable enough to support this rewrite and that it will make future changes to the cli much more straight forward to implement.

Planned changes

  • Remove cli-create-app dependency
  • Present built in commands via an all.ts or similar, removing the need to find and load the,
  • Search for installable commands and merge correctly with installed commands
  • Make installed command list available to build in functions so they do not have to find them themselves
  • Upgrade dependencies
  • Indicate to the user which packages can be updated when displaying the command list

Linked: #196 #197

@tomdye is this done?

@tomdye ping... Has this been completed?

Will raise a new issue to simplify built in command changes, this can be closed

Closed via: #200