Group
Extension

Matches 7

App-nioscli ( S/SS/SSMN/App-nioscli-0.001.tar.gz, SSMN, 2021; MetaCPAN )
App-nioscli/lib/App/nioscli/Commands/ref_get.pm ( view source; MetaCPAN )
ref_get::VERSION = '0.001';

# VERSION
# AUTHORITY

## use critic
use strictures 2;
use JSON qw(to_json from_json);
use MooseX::App::Command;

extends qw(App::nioscli);

command_short_description 'Get
 $self->nios_client->get( path => $self->ref );

  $response->is_success
    ? print(
    to_json( from_json( $response->{_content} ), { utf8 => 1, pretty => 1 } ) )
    : die( $response->{'_content'}
App-nioscli ( S/SS/SSMN/App-nioscli-0.001.tar.gz, SSMN, 2021; MetaCPAN )
App-nioscli/lib/App/nioscli/Roles/Listable.pm ( view source; MetaCPAN )
able;
$App::nioscli::Roles::Listable::VERSION = '0.001';
## use critic
use strictures 2;
use JSON qw(to_json);
use MooseX::App::Role;
use Data::Dumper;

option 'max-results' => (
  is  => 'ro',
  isa 
 @results =
    map { $_->is_success ? @{ $_->content->{result} } : [] } @{$response};
  print to_json( \@results, { utf8 => 1, pretty => 1 } );
}

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

App
App-nioscli ( S/SS/SSMN/App-nioscli-0.001.tar.gz, SSMN, 2021; MetaCPAN )
App-nioscli/lib/App/nioscli/Commands/create_host_record.pm ( view source; MetaCPAN )
host_record::VERSION = '0.001';

# VERSION
# AUTHORITY

## use critic
use strictures 2;
use JSON qw(from_json);
use MooseX::App::Command;

extends qw(App::nioscli);

command_short_description 'Create 
   push( @{ $payload->{ipv4addrs} }, { ipv4addr => $_ } );
    }

    $payload->{extattrs} = from_json( $self->extattrs ) if defined $self->extattrs;

    return $payload;
  }
);

has 'exe' => (
  is 
App-nioscli ( S/SS/SSMN/App-nioscli-0.001.tar.gz, SSMN, 2021; MetaCPAN )
App-nioscli/lib/App/nioscli/Commands/create_a_record.pm ( view source; MetaCPAN )
te_a_record::VERSION = '0.001';

# VERSION
# AUTHORITY

## use critic
use strictures 2;
use JSON qw(from_json);
use MooseX::App::Command;

extends qw(App::nioscli::Commands::create_host_record);

comm
name     => $self->name,
      ipv4addr => $self->address
    };

    $payload->{extattrs} = from_json( $self->extattrs ) if defined $self->extattrs;

    return $payload;
  }
);

has 'exe' => (
  is 
App-nioscli ( S/SS/SSMN/App-nioscli-0.001.tar.gz, SSMN, 2021; MetaCPAN )
App-nioscli/lib/App/nioscli/Commands/ref_update.pm ( view source; MetaCPAN )
:ref_update::VERSION = '0.001';

# VERSION
# AUTHORITY

## use critic
use strictures 2;
use JSON qw(from_json);
use MooseX::App::Command;

extends qw(App::nioscli);

command_short_description 'Update 
ence';

parameter 'ref' => (
  is       => 'ro',
  isa      => 'Str',
  required => 1
);

option 'json' => (
  is       => 'ro',
  isa      => 'Str',
  required => 1
);

sub run {
  my $self     = shi
esponse = $self->nios_client->update(
    path    => $self->ref,
    payload => from_json( $self->json )
  );

  $response->is_success
    ? print( $response->{'_content'} )
    : die( $response->{'_c
App-nioscli ( S/SS/SSMN/App-nioscli-0.001.tar.gz, SSMN, 2021; MetaCPAN )
App-nioscli/lib/App/nioscli/Commands/ref_delete.pm ( view source; MetaCPAN )
:ref_delete::VERSION = '0.001';

# VERSION
# AUTHORITY

## use critic
use strictures 2;
use JSON qw(from_json);
use MooseX::App::Command;

extends qw(App::nioscli);

command_short_description 'Delete 
App-nioscli ( S/SS/SSMN/App-nioscli-0.001.tar.gz, SSMN, 2021; MetaCPAN )
App-nioscli/lib/App/nioscli/Commands/create_cname_record.pm ( view source; MetaCPAN )
name_record::VERSION = '0.001';

# VERSION
# AUTHORITY

## use critic
use strictures 2;
use JSON qw(from_json);
use MooseX::App::Command;

extends qw(App::nioscli);

command_short_description 'Create 
      => $self->name,
      canonical => $self->canonical
    };

    $payload->{extattrs} = from_json( $self->extattrs ) if defined $self->extattrs;

    return $payload;
  }
);

has 'path' => (
  de

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.