Tapper::CLI::User
This module is part of the Tapper::CLI framework. It is supposed to be used together with App::Rad. All following functions expect their arguments as $c->options->{$arg}.
use App::Rad; use Tapper::CLI::User; Tapper::CLI::User::setup($c); App::Rad->run();
Tapper::CLI::User - Tapper - user handling commands for the tapper CLI
Get contacts from YAML. Errors are printed out instead of returned. This seems to be ok for a CLI function.
@param array ref - containing YAML strings or file names
@return list of contacts that could be parsed
Create a new user.
@optparam login - login name for the user (default is $ENV{USER}) @optparam name - real name of the user (try to get from system if empty) @optparam contact - contact information in YAML or name of a file containing this information (can be given multiple times) @optparam help - print out help message and die
Add contacts to an existing user.
@param contact - contact information in YAML or name of a file containing this information (can be given multiple times) @optparam login - login name for the user (default is $ENV{USER}) @optparam quiet - stay silent when adding contacts succeeded @optparam help - print out help message and die
Show all or a subset of user subscriptions
@optparam
Update an existing user subscription.
@param file - name of the file containing the new data for subscription user in YAML @param id - id of the user subscription to update @optparam quiet - stay silent when updating succeeded @optparam help - print out help message and die
Delete an existing user subscription.
@param id - id of the user subscription to delete @optparam quiet - stay silent when deleting user succeeded @optparam help - print out help message and die
Initialize the user functions for tapper CLI
AMD OSRC Tapper Team <tapper@amd64.org>
This software is Copyright (c) 2016 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License
To install Tapper::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::CLI
CPAN shell
perl -MCPAN -e shell install Tapper::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.