App-nioscli

 view release on metacpan or  search on metacpan

lib/App/nioscli.pm  view on Meta::CPAN

  required      => 1,
  cmd_env       => 'WAPI_HOST',
  documentation => 'DNS host name or address of NIOS.'
);

option 'insecure' => (
  is            => 'ro',
  isa           => 'Bool',
  default       => 0,
  cmd_env       => 'WAPI_INSECURE',
  documentation => 'Enable or disable verifying SSL certificates',
);

option 'scheme' => (
  is      => 'ro',
  isa     => 'Str',
  default => 'https'
);

has 'nios_client' => (
  is      => 'ro',

lib/App/nioscli.pm  view on Meta::CPAN


=over 4

=item * C<config>: Values for all global and specific options can be read from a YAML config file, eg:

    global:
      username: foo
      password: bar
      wapi-host: 10.0.0.1

=item * C<insecure>: Enable or disable verifying SSL certificates. Can be set from C<ENV: WAPI_INSECURE>, default is C<false>.

=item * C<password>: Password to use to authenticate the connection to NIOS. Can be set from C<ENV: WAPI_PASSWORD>.

=item * C<scheme>: Default is C<https>.

=item * C<username>: Username to use to authenticate the connection to NIOS. Can be set from C<ENV: WAPI_USERNAME>.

=item * C<wapi-host>: DNS host name or address of NIOS. Can be set from C<ENV: WAPI_HOST>.

=item * C<wapi-version>: Specifies the version of WAPI to use. Can be set from C<ENV: WAPI_VERSION>, default is C<v2.7>.



( run in 0.658 second using v1.01-cache-2.11-cpan-e1769b4cff6 )