App-GenModEmbedder
view release on metacpan or search on metacpan
bin/gen-mod-embedder view on Meta::CPAN
=head2 bash
To activate bash completion for this script, put:
complete -C gen-mod-embedder gen-mod-embedder
in your bash startup (e.g. C<~/.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 L<shcompgen> which allows you to
activate completion scripts for several kinds of scripts on multiple shells.
Some CPAN distributions (those that are built with
L<Dist::Zilla::Plugin::GenShellCompletion>) will even automatically enable shell
completion for their included scripts (using C<shcompgen>) at installation time,
so you can immadiately have tab completion.
=head2 tcsh
To activate tcsh completion for this script, put:
complete gen-mod-embedder 'p/*/`gen-mod-embedder`/'
in your tcsh startup (e.g. C<~/.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 C<shcompgen> (see above).
=head2 other shells
For fish and zsh, install C<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/gen-mod-embedder.conf>, F<~/gen-mod-embedder.conf>, or F</etc/gen-mod-embedder.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:
as (see --as)
format (see --format)
indent_level (see --indent-level)
module (see --module)
naked_res (see --naked-res)
strip_pod (see --strip-pod)
=head1 ENVIRONMENT
=head2 GEN_MOD_EMBEDDER_OPT => str
Specify additional command-line options
=head1 FILES
~/.config/gen-mod-embedder.conf
~/gen-mod-embedder.conf
/etc/gen-mod-embedder.conf
=head1 HOMEPAGE
Please visit the project's homepage at L<https://metacpan.org/release/App-GenModEmbedder>.
=head1 SOURCE
Source repository is at L<https://github.com/perlancar/perl-App-GenModEmbedder>.
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-GenModEmbedder>
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<Module::FatPack>.
L<Module::DataPack>.
L<App::FatPacker>.
L<App::depak>.
=head1 AUTHOR
perlancar <perlancar@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 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 1.579 second using v1.01-cache-2.11-cpan-0b58ddf2af1 )