rsm-hcd / AndcultureCode.Cli

and-cli command-line tool to manage the development of software applications
https://andculture.com
Apache License 2.0
14 stars 15 forks source link

List command only shows parents and no options #199

Closed brandongregoryscott closed 3 years ago

brandongregoryscott commented 3 years ago

Went to test out the new list command, but it looks like it may be buggy in the package. I have a hunch that the path it is creating to the CLI is not accurate and that's why it stops at the parent commands. I'm thinking it should probably construct the path how the CommandRegistry does, or even directly reference and-cli. I originally intended this to be used for the main CLI itself, not to be used in the context of plugin CLIs - that seems like an additional feature/out of scope for this original version, if people want that ability, so lets make it work with just the main CLI for now.

bscot@BSCOTT-PC ~/ -> and-cli list --skip-cache
[and-cli] Skipping cache if it exists...
- [ ] copy
- [ ] deploy
- [ ] dotnet-test
- [ ] dotnet
- [ ] github
- [ ] health-check
- [ ] install
- [ ] list
- [ ] migration
- [ ] nuget
- [ ] restore
- [ ] webpack
- [ ] webpack-test
- [ ] workspace
[and-cli] Writing command list to cached file at C:/Users/bscot/.and-cli/commands.json...
[and-cli] Cached file successfully updated.