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

add profile cp command #304

Merged
merged 4 commits into from
Oct 26, 2023
Merged

add profile cp command #304

merged 4 commits into from
Oct 26, 2023

Conversation

royra
Copy link
Collaborator

@royra royra commented Oct 25, 2023

fixes #231

➜  preevy git:(cli-profile-cp) ~/preevy/packages/cli/bin/dev profile cp --help
Copy a profile

USAGE
  $ preevy profile cp [-D] [-f <value>] [--system-compose-file <value>] [-p <value>] [--json]
    [--profile <value>] [--target-location <value> | --target-storage local|s3|gs] [--target-name
    <value>] [--use]

FLAGS
  --profile=<value>          Source profile name, defaults to the current profile
  --target-location=<value>  Target profile location URL
  --target-name=<value>      Target profile name
  --target-storage=<option>  Target profile storage type
                             <options: local|s3|gs>
  --use                      Mark the new profile as the current profile

GLOBAL FLAGS
  -D, --debug                       Enable debug logging
  -f, --file=<value>...             [default: ] Compose configuration file
  -p, --project=<value>             Project name. Defaults to the Compose project name
  --json                            Format output as json.
  --system-compose-file=<value>...  [default: ] Add extra Compose configuration file without overriding
                                    the defaults

DESCRIPTION
  Copy a profile

@royra royra requested a review from Yshayy October 25, 2023 13:37
@royra royra merged commit 65eae06 into main Oct 26, 2023
8 checks passed
@royra royra deleted the cli-profile-cp branch October 26, 2023 11:03
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.

Allow copying the profile to a different storage
1 participant