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

Implement Interactive Utility and CLI Schema for Enhanced Configuration Management #20

Open
matthewchivers opened this issue Oct 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@matthewchivers
Copy link
Owner

matthewchivers commented Oct 26, 2023

Is your feature request related to a problem? Please describe.

The current configuration lacks an intuitive and user-friendly interface for editing and managing configurations, making it cumbersome to perform config updates.

Describe the solution you'd like

Develop tooling and an interactive utility to facilitate the editing and management of configurations. The solution should provide clear feedback to users, ensure the integrity of the configuration, and simplify the process of transitioning to a hybrid configuration.

Proposed CLI Schema for Config Management:

Directories:

rb config dir add <directory-path> --alias <alias>
rb config dir remove <alias-or-path>
rb config dir list
rb config dir update <alias-or-path> --new-path <new-directory-path> --new-alias <new-alias>

Repositories:

rb config repo add <git-url> --alias <alias> --directory <directory-alias-or-path>
rb config repo remove <alias-or-url>
rb config repo list
rb config repo update <alias-or-url> --new-url <new-git-url> --new-alias <new-alias> --directory <new-directory-alias-or-path>

Clone Rules:

rb config rule add --pattern <pattern> --directory <directory-alias-or-path>
rb config rule remove <rule-id>
rb config rule list
rb config rule update <rule-id> --new-pattern <new-pattern> --directory <new-directory-alias-or-path>

Describe alternatives you've considered

  • Considered maintaining manual editing of configuration files, but realized an interactive utility could significantly enhance user experience and reduce errors.

Additional context

Ensuring a smooth and intuitive configuration management experience is crucial for user adoption and effective utilization of the rb tool. The interactive utility and additional tooling should strive to minimize the complexity faced by users when managing configurations, especially as the number of repositories and directories grow over time.

@matthewchivers matthewchivers added the enhancement New feature or request label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant