« 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__ | ||