Sah/Schema/firefox/profile_name.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Sah/Schema/firefox/local_profile_name/default_first.pm ↑ Summary Sah/SchemaR/firefox/local_profile_name.pm »
1 package Sah::Schema::firefox::profile_name;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6 1 our $DATE = '2023-06-14'; # DATE
7 1 our $DIST = 'Sah-Schemas-Firefox'; # DIST
8 1 our $VERSION = '0.008'; # VERSION
9  
10 1 our $schema = [str => {
11 min_len => 1,
12 summary => 'Firefox profile name',
13 'x.completion' => 'firefox_profile_name',
14 description => <<'_',
15  
16 This is currently just `str` with a minimum length of 1, but adds a completion
17 rule to complete from list of profiles from local Firefox installation.
18  
19 _
20 examples => [
21 {
22 value => '',
23 valid => 0,
24 },
25 {
26 value => 'standard',
27 valid => 1,
28 },
29 ],
30 }];
31  
32 1 1;
33 # ABSTRACT: Firefox profile name
34  
35 __END__
« Sah/Schema/firefox/local_profile_name/default_first.pm ↑ Summary Sah/SchemaR/firefox/local_profile_name.pm »