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

Restructure cli commands #3866

Open
anbraten opened this issue Jul 3, 2024 · 2 comments
Open

Restructure cli commands #3866

anbraten opened this issue Jul 3, 2024 · 2 comments
Labels
breaking will break existing installations if no manual action happens cli refactor delete or replace old code
Milestone

Comments

@anbraten
Copy link
Member

anbraten commented Jul 3, 2024

To easily find the correct cli command, it would be quite helpful if they were structured in "groups" / sub-commands similarly to the UI:

  • setup
  • help
  • info
  • exec
  • update
  • lint
  • repo (to manage repos)
  • repo (not sure if those commands might be better at the top-level)
    • pipeline
      • ls
      • approve
      • info
      • ...
      • log
    • secrets
    • registries
    • cron
    • deploy
  • org
    • secrets
    • registries
  • admin
    • user
    • secrets (global secrets)
    • registries (global registries)
    • log-level
@anbraten anbraten added refactor delete or replace old code cli labels Jul 3, 2024
@lafriks
Copy link
Contributor

lafriks commented Jul 3, 2024

I agree that this structure looks much better

@anbraten anbraten added this to the 3.x.x milestone Jul 3, 2024
@zc-devs
Copy link
Contributor

zc-devs commented Jul 3, 2024

I would put log in pipeline:

repo:
  pipeline:
    log

@qwerty287 qwerty287 added the breaking will break existing installations if no manual action happens label Jul 15, 2024
@qwerty287 qwerty287 modified the milestones: 3.x.x, 3.0.0 Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking will break existing installations if no manual action happens cli refactor delete or replace old code
Projects
None yet
Development

No branches or pull requests

4 participants