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

[FeatureRequest] Create a new functionality for the clone command: get the Dev Env descriptor from the catalog #131

Closed
janosmurai opened this issue Oct 9, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Issue to help with during Hacktoberfest2023

Comments

@janosmurai
Copy link
Contributor

janosmurai commented Oct 9, 2023

dem clone DEV_ENV_NAME

  1. The DEM looks for DEV_ENV_NAME in the added catalogs.
    If it can’t find it, an error should be presented for the user and the DEM stops the execution.
  2. The DEM saves the Dev Env descriptor to the dev_env.json file.
    If a Dev Env already exists with the name DEV_ENV_NAME in the local dev_env.json the DEM asks the user what to do.
    Overwrite it: the Dev Env descriptor in the dev_env.json gets overwritten with the one coming from the catalog.
    Abort: the DEM stops the execution. The original Dev Env descriptor remains in the local dev_env.json file
  3. The DEM finally informs the user about the successful clone operation.
  4. If the DEV_ENV_NAME is an empty string, the DEM should raise an error. (Handled by typer)
  5. The DEM should autocomplete the DEV_ENV_NAME parameter from the catalog’s available Dev Envs.

image

@janosmurai janosmurai added enhancement New feature or request good first issue Good for newcomers hacktoberfest Issue to help with during Hacktoberfest2023 labels Oct 9, 2023
@janosmurai janosmurai self-assigned this Dec 14, 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 good first issue Good for newcomers hacktoberfest Issue to help with during Hacktoberfest2023
Projects
None yet
Development

No branches or pull requests

1 participant