Skip to content

refactor CLI main package #824

Closed
Closed

Description

@qweeah

Currently both the root command and some sub-commands are implemented in the main package, which is not a good practice for Cobra.

Also to satisfy #807, all the command types should be moved out of the main package with root command type exported publicly.

Activity

  1. self-assigned this
    on Feb 20, 2023
  2. qweeah commented on Feb 20, 2023

    @qweeah
    ContributorAuthor

    Also command execution should be based on the same context passed from the root Cobra command.

  3. added this to the future milestone on Mar 22, 2023
  4. modified the milestones: future, v1.1.0 on Jul 6, 2023
  5. qweeah commented on Jul 10, 2023

    @qweeah
    ContributorAuthor

    Closing as it is already completed in #899.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions