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

idea: A subcommand is required should just stdout -h #1262

Closed
freelerobot opened this issue Sep 19, 2024 · 4 comments
Closed

idea: A subcommand is required should just stdout -h #1262

freelerobot opened this issue Sep 19, 2024 · 4 comments
Assignees
Labels
category: app shell Installer, updaters, distributions P2: enhancement low impact on functionality
Milestone

Comments

@freelerobot
Copy link
Contributor

freelerobot commented Sep 19, 2024

Problem Statement

❯ cortex-nightly engines
A subcommand is required
Run with --help for more information.

Feature Idea

Given that, running cortex invokes -h.
Subcommands should be the same.

e.g.

  • cortex-nightly engines == cortex-nightly engines -h
  • cortex-nightly engines get == cortex-nightly engines get -h
  • cortex-nightly models == cortex-nightly models -h

Is there something we're not seeing here?
Am curious if our current CLI deps make this sort of thing really hard to do 🙏

@vansangpfiev
Copy link
Contributor

Am curious if our current CLI deps make this sort of thing really hard to do 🙏

We are able to make that changes with current CLI deps.
I'm not great at UI/UX, so I need your help to make a final decision and get started. @0xSage @dan-homebrew

@vansangpfiev
Copy link
Contributor

vansangpfiev commented Sep 20, 2024

image
Quick check on the CLI deps APIs

@dan-menlo
Copy link
Contributor

@vansangpfiev I think it's a good idea for us to replace "A subcommand is required" with the -h menu.

  • Can I change this into an epic for Sprint 21?
  • Or is this a very fast change?

Problem Statement

❯ cortex-nightly engines
A subcommand is required
Run with --help for more information.

Feature Idea

Given that, running cortex invokes -h. Subcommands should be the same.

e.g.

  • cortex-nightly engines == cortex-nightly engines -h
  • cortex-nightly engines get == cortex-nightly engines get -h
  • cortex-nightly models == cortex-nightly models -h

Is there something we're not seeing here? Am curious if our current CLI deps make this sort of thing really hard to do 🙏

@freelerobot freelerobot added the P2: enhancement low impact on functionality label Sep 21, 2024
@freelerobot freelerobot added the category: app shell Installer, updaters, distributions label Sep 21, 2024
@vansangpfiev vansangpfiev mentioned this issue Sep 23, 2024
3 tasks
@vansangpfiev vansangpfiev moved this to In Progress in Menlo Sep 23, 2024
@vansangpfiev vansangpfiev moved this from In Progress to In Review in Menlo Sep 25, 2024
@freelerobot
Copy link
Contributor Author

works really great, thank you @vansangpfiev

@github-project-automation github-project-automation bot moved this from In Review to Completed in Menlo Sep 26, 2024
@gabrielle-ong gabrielle-ong added this to the v1.0.0 milestone Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: app shell Installer, updaters, distributions P2: enhancement low impact on functionality
Projects
Archived in project
Development

No branches or pull requests

5 participants
@vansangpfiev @gabrielle-ong @freelerobot @dan-menlo and others