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

Manage Config from CLI #1081

Conversation

devgenix
Copy link
Contributor

@devgenix devgenix commented Dec 19, 2023

This PR adds functionality in the CLI to allow manage App Variants configuration from the CLI.

The following Commands have been introduced;

  • agenta config pull/agenta config pull <app_name.variant_name> -> Pull the configuration for all app variants belong to the app where agenta init was done or for a specific app variant, into a configuration file by the name of the respective variant(s) <app_name.variant_name>.toml
  • agenta config update/agenta config update <app_name.variant_name> -> Updates the configuration for all app variants belong to the app where agenta init was done or for a specific app variant into the variant(s) configuration file

The following existing commands have been enhanced;

  • agenta variant delete -> would now also delete the configuration file associated with a variant, if present.

@devgenix devgenix requested a review from mmabrouk December 20, 2023 06:50
@devgenix
Copy link
Contributor Author

This is a fat PR because it depends on this PR #1041 which hasn't been merged.

@devgenix devgenix marked this pull request as ready for review December 20, 2023 06:53
@devgenix
Copy link
Contributor Author

@mmabrouk The latest changes from the PR is here.

Can you review it here?

@devgenix
Copy link
Contributor Author

Closed as moved to here while waiting on #1041

@devgenix devgenix closed this Dec 21, 2023
@devgenix devgenix deleted the #1029-Add-ability-to-manage-configuration-from-CLI branch December 21, 2023 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant