enh quotes

This commit is contained in:
Colin Gagnaire 2019-10-17 16:56:28 +02:00
parent 1f679a268f
commit 4ae61e5614
4 changed files with 24 additions and 24 deletions

View File

@ -40,16 +40,16 @@ sub new {
if (!defined($options{noptions})) { if (!defined($options{noptions})) {
$options{options}->add_options(arguments => { $options{options}->add_options(arguments => {
"hostname:s" => { name => 'hostname' }, 'hostname:s' => { name => 'hostname' },
"remote" => { name => 'remote' }, 'remote' => { name => 'remote' },
"ssh-option:s@" => { name => 'ssh_option' }, 'ssh-option:s@' => { name => 'ssh_option' },
"ssh-path:s" => { name => 'ssh_path' }, 'ssh-path:s' => { name => 'ssh_path' },
"ssh-command:s" => { name => 'ssh_command', default => 'ssh' }, 'ssh-command:s' => { name => 'ssh_command', default => 'ssh' },
"timeout:s" => { name => 'timeout', default => 50 }, 'timeout:s' => { name => 'timeout', default => 50 },
"sudo" => { name => 'sudo' }, 'sudo' => { name => 'sudo' },
"command:s" => { name => 'command', default => 'ANSIBLE_LOAD_CALLBACK_PLUGINS=true ANSIBLE_STDOUT_CALLBACK=json ansible' }, 'command:s' => { name => 'command', default => 'ANSIBLE_LOAD_CALLBACK_PLUGINS=true ANSIBLE_STDOUT_CALLBACK=json ansible' },
"command-path:s" => { name => 'command_path' }, 'command-path:s' => { name => 'command_path' },
"command-options:s" => { name => 'command_options', default => '' }, 'command-options:s' => { name => 'command_options', default => '' },
}); });
} }
$options{options}->add_help(package => __PACKAGE__, sections => 'CLI OPTIONS', once => 1); $options{options}->add_help(package => __PACKAGE__, sections => 'CLI OPTIONS', once => 1);

View File

@ -32,8 +32,8 @@ sub new {
bless $self, $class; bless $self, $class;
$options{options}->add_options(arguments => { $options{options}->add_options(arguments => {
"host-pattern:s" => { name => 'host_pattern', default => 'all' }, 'host-pattern:s' => { name => 'host_pattern', default => 'all' },
"prettify" => { name => 'prettify' }, 'prettify' => { name => 'prettify' },
}); });
return $self; return $self;

View File

@ -40,15 +40,15 @@ sub new {
if (!defined($options{noptions})) { if (!defined($options{noptions})) {
$options{options}->add_options(arguments => { $options{options}->add_options(arguments => {
"host:s" => { name => 'host' }, 'host:s' => { name => 'host' },
"username:s" => { name => 'username' }, 'username:s' => { name => 'username' },
"password:s" => { name => 'password' }, 'password:s' => { name => 'password' },
"timeout:s" => { name => 'timeout', default => 50 }, 'timeout:s' => { name => 'timeout', default => 50 },
"sudo" => { name => 'sudo' }, 'sudo' => { name => 'sudo' },
"command:s" => { name => 'command', default => 'tower-cli' }, 'command:s' => { name => 'command', default => 'tower-cli' },
"command-path:s" => { name => 'command_path' }, 'command-path:s' => { name => 'command_path' },
"command-options:s" => { name => 'command_options', default => '' }, 'command-options:s' => { name => 'command_options', default => '' },
"proxyurl:s" => { name => 'proxyurl' }, 'proxyurl:s' => { name => 'proxyurl' },
}); });
} }
$options{options}->add_help(package => __PACKAGE__, sections => 'TOWERCLI OPTIONS', once => 1); $options{options}->add_help(package => __PACKAGE__, sections => 'TOWERCLI OPTIONS', once => 1);

View File

@ -32,9 +32,9 @@ sub new {
bless $self, $class; bless $self, $class;
$options{options}->add_options(arguments => { $options{options}->add_options(arguments => {
"group" => { name => 'group' }, 'group' => { name => 'group' },
"inventory" => { name => 'inventory' }, 'inventory' => { name => 'inventory' },
"prettify" => { name => 'prettify' }, 'prettify' => { name => 'prettify' },
}); });
return $self; return $self;