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

CLI-851: Acli and copying specific files between environments. #1171

Open
john-cullen-acquia opened this issue Sep 16, 2022 · 2 comments
Open

Comments

@john-cullen-acquia
Copy link

Our team has been looking at the ACLI help and the ability to copy files between environments . Is there a plan in the future for a developer to copy certain files or directories using this command or something similar; not just copying the entire file system between environments?

The command below is what we were looking into.

acli help api:environments:file-copy
Description:
  Copies files to this environment.

Usage:
  api:environments:file-copy [options] [--] <environmentId>
  api:environments:file-copy 12-d314739e-296f-11e9-b210-d663bd873d93 --source="14-0c7e79ab-1c4a-424e-8446-76ae8be7e851"
  api:environments:file-copy myapp.dev --source="14-0c7e79ab-1c4a-424e-8446-76ae8be7e851"

Arguments:
  environmentId         The environment identifier. The identifier is a compound key consisting of the internal database ID of the environment and the application UUID. You may also use an environment alias or UUID.

Options:
      --source=SOURCE   The ID of the environment to copy files from.
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
@github-actions github-actions bot changed the title Acli and copying specific files between environments. CLI-851: Acli and copying specific files between environments. Sep 16, 2022
@anavarre
Copy link
Contributor

You're essentially asking for rsync, aren't you @john-cullen-acquia ?

@john-cullen-acquia
Copy link
Author

Two items @anavarre .

  • Rsync would be awesome. On Classic Cloud we are able to rsync between two environments manually using bash if needed.
  • Pushing certain files or directories between different environments would be very user friendly.

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

No branches or pull requests

3 participants