App-WordListUtils

 view release on metacpan or  search on metacpan

script/list-wordlist-modules  view on Meta::CPAN


=back

=head1 COMPLETION

This script has shell tab completion capability with support for several
shells.

=head2 bash

To activate bash completion for this script, put:

 complete -C list-wordlist-modules list-wordlist-modules

in your bash startup (e.g. F<~/.bashrc>). Your next shell session will then
recognize tab completion for the command. Or, you can also directly execute the
line above in your shell to activate immediately.

It is recommended, however, that you install modules using L<cpanm-shcompgen>
which can activate shell completion for scripts immediately.

=head2 tcsh

To activate tcsh completion for this script, put:

 complete list-wordlist-modules 'p/*/`list-wordlist-modules`/'

in your tcsh startup (e.g. F<~/.tcshrc>). Your next shell session will then
recognize tab completion for the command. Or, you can also directly execute the
line above in your shell to activate immediately.

It is also recommended to install L<shcompgen> (see above).

=head2 other shells

For fish and zsh, install L<shcompgen> as described above.

=head1 CONFIGURATION FILE

This script can read configuration files. Configuration files are in the format of L<IOD>, which is basically INI with some extra features.

By default, these names are searched for configuration filenames (can be changed using C<--config-path>): F<~/.config/list-wordlist-modules.conf>, F<~/list-wordlist-modules.conf>, or F</etc/list-wordlist-modules.conf>.

All found files will be read and merged.

To disable searching for configuration files, pass C<--no-config>.

You can put multiple profiles in a single file by using section names like C<[profile=SOMENAME]> or C<[SOMESECTION profile=SOMENAME]>. Those sections will only be read if you specify the matching C<--config-profile SOMENAME>.

You can also put configuration for multiple programs inside a single file, and use filter C<program=NAME> in section names, e.g. C<[program=NAME ...]> or C<[SOMESECTION program=NAME]>. The section will then only be used when the reading program match...

Finally, you can filter a section by environment variable using the filter C<env=CONDITION> in section names. For example if you only want a section to be read if a certain environment variable is true: C<[env=SOMEVAR ...]> or C<[SOMESECTION env=SOME...

List of available configuration parameters:

 detail (see --detail)
 dynamic (see --dynamic)
 dynamic.in (see --dynamic-in)
 dynamic.is (see --dynamic-is)
 dynamic.isnt (see --dynamic-isnt)
 dynamic.not_in (see --dynamic-not-in)
 exclude_fields (see --exclude-field)
 fields (see --field)
 format (see --format)
 naked_res (see --naked-res)
 num_params (see --num-params)
 num_params.in (see --num-params-in)
 num_params.is (see --num-params-is)
 num_params.isnt (see --num-params-isnt)
 num_params.not_in (see --num-params-not-in)
 num_words (see --num-words)
 num_words.in (see --num-words-in)
 num_words.is (see --num-words-is)
 num_words.isnt (see --num-words-isnt)
 num_words.not_in (see --num-words-not-in)
 query (see --query)
 random (see --random)
 result_limit (see --result-limit)
 result_start (see --result-start)
 sort (see --sort)
 sort.contains (see --sort-contains)
 sort.in (see --sort-in)
 sort.is (see --sort-is)
 sort.isnt (see --sort-isnt)
 sort.max (see --sort-max)
 sort.min (see --sort-min)
 sort.not_contains (see --sort-not-contains)
 sort.not_in (see --sort-not-in)
 sort.xmax (see --sort-xmax)
 sort.xmin (see --sort-xmin)
 with_field_names (see --with-field-names)
 wordlist (see --wordlist)
 wordlist.contains (see --wordlist-contains)
 wordlist.in (see --wordlist-in)
 wordlist.is (see --wordlist-is)
 wordlist.isnt (see --wordlist-isnt)
 wordlist.max (see --wordlist-max)
 wordlist.min (see --wordlist-min)
 wordlist.not_contains (see --wordlist-not-contains)
 wordlist.not_in (see --wordlist-not-in)
 wordlist.xmax (see --wordlist-xmax)
 wordlist.xmin (see --wordlist-xmin)

=head1 ENVIRONMENT

=head2 LIST_WORDLIST_MODULES_OPT => str

Specify additional command-line options.

=head1 FILES

F<~/.config/list-wordlist-modules.conf>

F<~/list-wordlist-modules.conf>

F</etc/list-wordlist-modules.conf>

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/release/App-WordListUtils>.

=head1 SOURCE

Source repository is at L<https://github.com/perlancar/perl-App-WordListUtils>.

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-WordListUtils>

When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.

=head1 SEE ALSO

L<wordlist> from L<App::wordlist>

L<WordList>

=head1 AUTHOR

perlancar <perlancar@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2020, 2016 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut



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