NAME

Tapper::CLI::Notification

SYNOPSIS

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::Notification;
Tapper::CLI::Notification::setup($c);
App::Rad->run();

NAME

Tapper::CLI::Notification - Tapper - notification commands for the tapper CLI

FUNCTIONS

notificationnew

Register new notification subscriptions.

@param file - contains the new subscription in YAML, multiple can be given @optparam user - overwrite user information given in the file or set if none @optparam quiet - only return notification ids @optparam help - print out help message and die

notificationlist

Show all or a subset of notification subscriptions

@optparam

notificationupdate

Update an existing notification subscription.

@param file - name of the file containing the new data for subscription notification in YAML @param id - id of the notification subscription to update @optparam quiet - only return ids of updated notification subscriptions @optparam help - print out help message and die

notificationdel

Delete an existing notification subscription.

@param id - id of the notification subscription to delete @optparam quiet - stay silent when deleting succeeded @optparam help - print out help message and die

setup

Initialize the notification functions for tapper CLI

AUTHOR

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Advanced Micro Devices, Inc.

This is free software, licensed under:

The (two-clause) FreeBSD License