doex v0.4.17 mix doex.scp View Source
Secure copy a file from
doex scp <droplet_name> <src> <target>
You can provide the droplet ID, referenece it by name, or by tag (if you add the —tag option)
For example
doex scp my_app ./bin/env /src/my_app/bin/env
If you have a specific config file, mix help doex.config
then add it as an environment variable
DOEX_CONFIG=/tmp/my.doex doex scp my_app ./bin/env /src/my_app/bin/env
Link to this section Summary
Functions
A task needs to implement run
which receives
a list of command line args
Link to this section Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.