App-wordlist-blossom

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

        print words that match any query.

    *   pangram => *true*

        Only find pangrams.

    *   random => *bool*

        Pick random words.

        If set to true, then streaming will be turned off. All words will be
        gathered first, then words will be chosen randomly from the gathered
        list.

    *   wordlist_bundles => *array[str]*

        Select one or more wordlist bundle
        (Acme::CPANModules::WordListBundle::*) modules.

    *   wordlists => *array[str]* (default: ["EN::Enable"])

lib/App/wordlist/blossom.pm  view on Meta::CPAN

Instead of printing words that must match all queries (the default), print words that match any query.

=item * B<pangram> => I<true>

Only find pangrams.

=item * B<random> => I<bool>

Pick random words.

If set to true, then streaming will be turned off. All words will be gathered
first, then words will be chosen randomly from the gathered list.

=item * B<wordlist_bundles> => I<array[str]>

Select one or more wordlist bundle (Acme::CPANModules::WordListBundle::*) modules.

=item * B<wordlists> => I<array[str]> (default: ["EN::Enable"])

Select one or more wordlist modules.

script/_wordlist-blossom  view on Meta::CPAN

use warnings;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2025-03-07'; # DATE
our $DIST = 'App-wordlist-blossom'; # DIST
our $VERSION = '0.002'; # VERSION
die "Please run this script under shell completion\n" unless $ENV{COMP_LINE} || $ENV{COMMAND_LINE};

my $args = {program_name=>"wordlist-blossom",read_config=>0,read_env=>0,skip_format=>undef,subcommands=>undef,url=>"/App/wordlist/blossom/wordlist_blossom"};

my $meta = {_orig_args_as=>undef,_orig_result_naked=>undef,args=>{arg=>{greedy=>1,pos=>0,schema=>["array",{of=>"str*",req=>1}],tags=>["category:word-filtering"]},color=>{default=>"auto",schema=>["str",{in=>["never","always","auto"],req=>1,"x.in.summa...

my $sc_metas = {};

my $copts = {format=>{default=>undef,description=>"\nOutput can be displayed in multiple formats, and a suitable default format is\nchosen depending on the application and/or whether output destination is\ninteractive terminal (i.e. whether output is...

my $r = {common_opts=>$copts};

# get words
my $shell;
my ($words, $cword);

script/wordlist-blossom  view on Meta::CPAN

# load modules


### declare global variables

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2025-03-07'; # DATE
our $DIST = 'App-wordlist-blossom'; # DIST
our $VERSION = '0.002'; # VERSION

my $_pci_metas = {""=>{args=>{arg=>{greedy=>1,pos=>0,schema=>["array",{of=>["str",{req=>1}],req=>1}],tags=>["category:word-filtering"]},color=>{default=>"auto",schema=>["str",{in=>["never","always","auto"],req=>1,"x.in.summaries"=>["Never show color"...

our $_pci_log_outputs = {};
our $_pci_meta_result_stream = 0;
our $_pci_meta_result_type;
our $_pci_meta_result_type_is_simple;
our $_pci_meta_skip_format = 0;
our $_pci_r = {naked_res=>0,read_config=>1,read_env=>1,subcommand_name=>""};
our %_pci_args;

### begin code_before_enable_logging

script/wordlist-blossom  view on Meta::CPAN

 0

=item B<--pangram>

Only find pangrams.

=item B<--random>, B<-r>

Pick random words.

If set to true, then streaming will be turned off. All words will be gathered
first, then words will be chosen randomly from the gathered list.


=back

=head2 Configuration options

=over

=item B<--config-path>=I<s>



( run in 0.995 second using v1.01-cache-2.11-cpan-140bd7fdf52 )