Closed weavenet closed 10 years ago
@brettweavnet looks good. what is the actual command line as we already have -e
for environment? --external
?
@thbishop it shows up as -x, I could either leave it, or remove the short name:
# simple_deploy execute -h
Execute command on given stack(s).
simple_deploy execute -n STACK_NAME -n STACK_NAME -e ENVIRONMENT -c "COMMAND"
Using Internal / External IP for SSH:
simple_deploy defaults to using the public IP when ssh'ng to stacks in classic, or the private IP when
in a VPC.
The internal or external flag forces simple_deploy to use the given IP address.
simple_deploy execute -n STACK_NAME -n STACK_NAME -e ENVIRONMENT -i
--help, -h: Display Help
--attributes, -a <s>: = seperated attribute and it's value
--command, -c <s>: Command to execute.
--environment, -e <s>: Set the target environment
--external, -x: Use external IP for ssh commands
--internal, -i: Use internal IP for ssh commands
--log-level, -l <s>: Log level: debug, info, warn, error (default: info)
--name, -n <s>: Stack name(s) of stack to deploy
--sudo, -s: Execute command with sudo
--version, -v: Print version and exit
@brettweavnet i think i'm good with that. -x
isn't commonly used for something else. good to merge?
@thbishop yup, good 2 merge
Added an --external flag to execute, deploy and instances commands.