App-DesktopNotifyUtils

 view release on metacpan or  search on metacpan

script/notify-desktop  view on Meta::CPAN

    read_config => 0,
    read_env => 0,
);

$cmdline->run;

# ABSTRACT: Show a notification on your desktop
# PODNAME: notify-desktop

__END__

=pod

=encoding UTF-8

=head1 NAME

notify-desktop - Show a notification on your desktop

=head1 VERSION

This document describes version 0.001 of notify-desktop (from Perl distribution App-DesktopNotifyUtils), released on 2024-08-30.

=head1 SYNOPSIS

B<notify-desktop> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)

B<notify-desktop> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)

B<notify-desktop> [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>] [B<L<--format|/"--format=s">>=I<name>|B<L<--json|/"--json">>] [B<L<--(no)naked-res...

=head1 DESCRIPTION

Currently a very simple interface to L<Desktop::Notify>. Will offer more
options in the future.

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

=over

=item B<--body>=I<s>

(No description)


Can also be specified as the 2nd command-line argument.

=item B<--summary>=I<s>*

(No description)


Can also be specified as the 1st command-line argument.

=item B<--timeout>=I<s>

Timeout, in ms.

Default value:

 5000

=back

=head2 Logging options

=over

=item B<--debug>

Shortcut for --log-level=debug.

=item B<--log-level>=I<s>

Set log level.

By default, these log levels are available (in order of increasing level of
importance, from least important to most): C<trace>, C<debug>, C<info>,
C<warn>/C<warning>, C<error>, C<fatal>. By default, the level is usually set to
C<warn>, which means that log statements with level C<info> and less important
levels will not be shown. To increase verbosity, choose C<info>, C<debug>, or
C<trace>.

For more details on log level and logging, as well as how new logging levels can
be defined or existing ones modified, see L<Log::ger>.


=item B<--quiet>

Shortcut for --log-level=error.

=item B<--trace>

Shortcut for --log-level=trace.

=item B<--verbose>

Shortcut for --log-level=info.

=back

=head2 Output options

=over

=item B<--format>=I<s>

Choose output format, e.g. json, text.

Default value:

 undef

Output can be displayed in multiple formats, and a suitable default format is
chosen depending on the application and/or whether output destination is
interactive terminal (i.e. whether output is piped). This option specifically
chooses an output format.



( run in 0.832 second using v1.01-cache-2.11-cpan-39bf76dae61 )