App-BraveUtils
view release on metacpan or search on metacpan
script/brave-has-processes view on Meta::CPAN
#!perl
# Note: This script is a CLI for Riap function /App/BraveUtils/brave_has_processes
# and generated automatically using Perinci::CmdLine::Gen version 0.502
use 5.010001;
use strict;
use warnings;
use Log::ger;
use Perinci::CmdLine::Any;
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2023-10-28'; # DATE
our $DIST = 'App-BraveUtils'; # DIST
our $VERSION = '0.002'; # VERSION
my $cmdline = Perinci::CmdLine::Any->new(
url => "/App/BraveUtils/brave_has_processes",
program_name => "brave-has-processes",
log => 1,
read_config => 0,
read_env => 0,
);
$cmdline->run;
# ABSTRACT: Check whether Brave has processes
# PODNAME: brave-has-processes
__END__
=pod
=encoding UTF-8
=head1 NAME
brave-has-processes - Check whether Brave has processes
=head1 VERSION
This document describes version 0.002 of brave-has-processes (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<brave-has-processes> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<brave-has-processes> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<brave-has-processes> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--ver...
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--quiet-arg>, B<-q>
(No description)
=item B<--user>=I<s@>
Kill browser processes that belong to certain user(s) only.
Can be specified multiple times.
=item B<--users-json>=I<s>
Kill browser processes that belong to certain user(s) only (JSON-encoded).
See C<--user>.
=back
=head2 Filtering options
=over
=item B<--cmndline-pat>=I<s>
Filter processes using regex against their cmndline.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item B<--exec-pat>=I<s>
Filter processes using regex against their exec.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item B<--fname-pat>=I<s>
Filter processes using regex against their fname.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item B<--pid-pat>=I<s>
( run in 0.478 second using v1.01-cache-2.11-cpan-39bf76dae61 )