App-CompleteCLIs

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

	- Add utility: complete-known-host.


0.08    2016-10-15  Released-By: PERLANCAR

	- Add utility: complete-manpage-section.


0.07    2016-10-15  Released-By: PERLANCAR

        - Add utility: complete-locale.


0.06    2015-09-18  Released-By: PERLANCAR

        - Adjust to Complete::Util 0.36 being split to
          Complete::{Env,File,Program}.

        - Add complete-{float,int} from Complete::Number & complete-tz from
          Complete::TZ/

MANIFEST  view on Meta::CPAN

script/complete-from-schema
script/complete-gid
script/complete-group
script/complete-hash-key
script/complete-idx-listed-stock-code
script/complete-int
script/complete-kernel
script/complete-known-host
script/complete-known-mac
script/complete-language-code
script/complete-locale
script/complete-manpage
script/complete-manpage-section
script/complete-module
script/complete-path-env-elem
script/complete-perl-builtin-function
script/complete-perl-builtin-symbol
script/complete-perl-version
script/complete-perlmv-scriptlet
script/complete-pid
script/complete-pod

META.json  view on Meta::CPAN

            "name" : "GenPericmdScript complete-known-mac",
            "version" : "0.425"
         },
         {
            "class" : "Dist::Zilla::Plugin::GenPericmdScript",
            "name" : "GenPericmdScript complete-language-code",
            "version" : "0.425"
         },
         {
            "class" : "Dist::Zilla::Plugin::GenPericmdScript",
            "name" : "GenPericmdScript complete-locale",
            "version" : "0.425"
         },
         {
            "class" : "Dist::Zilla::Plugin::GenPericmdScript",
            "name" : "GenPericmdScript complete-manpage",
            "version" : "0.425"
         },
         {
            "class" : "Dist::Zilla::Plugin::GenPericmdScript",
            "name" : "GenPericmdScript complete-manpage-section",

META.yml  view on Meta::CPAN

    -
      class: Dist::Zilla::Plugin::GenPericmdScript
      name: 'GenPericmdScript complete-known-mac'
      version: '0.425'
    -
      class: Dist::Zilla::Plugin::GenPericmdScript
      name: 'GenPericmdScript complete-language-code'
      version: '0.425'
    -
      class: Dist::Zilla::Plugin::GenPericmdScript
      name: 'GenPericmdScript complete-locale'
      version: '0.425'
    -
      class: Dist::Zilla::Plugin::GenPericmdScript
      name: 'GenPericmdScript complete-manpage'
      version: '0.425'
    -
      class: Dist::Zilla::Plugin::GenPericmdScript
      name: 'GenPericmdScript complete-manpage-section'
      version: '0.425'
    -

Makefile.PL  view on Meta::CPAN

    "script/complete-from-schema",
    "script/complete-gid",
    "script/complete-group",
    "script/complete-hash-key",
    "script/complete-idx-listed-stock-code",
    "script/complete-int",
    "script/complete-kernel",
    "script/complete-known-host",
    "script/complete-known-mac",
    "script/complete-language-code",
    "script/complete-locale",
    "script/complete-manpage",
    "script/complete-manpage-section",
    "script/complete-module",
    "script/complete-path-env-elem",
    "script/complete-perl-builtin-function",
    "script/complete-perl-builtin-symbol",
    "script/complete-perl-version",
    "script/complete-perlmv-scriptlet",
    "script/complete-pid",
    "script/complete-pod",

README  view on Meta::CPAN

    20. complete-from-schema
    21. complete-gid
    22. complete-group
    23. complete-hash-key
    24. complete-idx-listed-stock-code
    25. complete-int
    26. complete-kernel
    27. complete-known-host
    28. complete-known-mac
    29. complete-language-code
    30. complete-locale
    31. complete-manpage
    32. complete-manpage-section
    33. complete-module
    34. complete-path-env-elem
    35. complete-perl-builtin-function
    36. complete-perl-builtin-symbol
    37. complete-perl-version
    38. complete-perlmv-scriptlet
    39. complete-pid
    40. complete-pod

dist.ini  view on Meta::CPAN

read_config=0
read_env=0
enable_log=1

[GenPericmdScript / GenPericmdScript complete-language-code]
url=/Complete/Language/complete_language_code
read_config=0
read_env=0
enable_log=1

[GenPericmdScript / GenPericmdScript complete-locale]
url=/Complete/Locale/complete_locale
read_config=0
read_env=0
enable_log=1

[GenPericmdScript / GenPericmdScript complete-manpage]
url=/Complete/Man/complete_manpage
read_config=0
read_env=0
enable_log=1

lib/App/CompleteCLIs.pm  view on Meta::CPAN

=item 25. L<complete-int>

=item 26. L<complete-kernel>

=item 27. L<complete-known-host>

=item 28. L<complete-known-mac>

=item 29. L<complete-language-code>

=item 30. L<complete-locale>

=item 31. L<complete-manpage>

=item 32. L<complete-manpage-section>

=item 33. L<complete-module>

=item 34. L<complete-path-env-elem>

=item 35. L<complete-perl-builtin-function>

script/complete-locale  view on Meta::CPAN

#!perl

# Note: This script is a CLI for Riap function /Complete/Locale/complete_locale
# and generated automatically using Perinci::CmdLine::Gen version 0.502

use 5.010001;
use strict;
use warnings;
use Log::ger;

use Perinci::CmdLine::Any;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2023-12-01'; # DATE
our $DIST = 'App-CompleteCLIs'; # DIST
our $VERSION = '0.153'; # VERSION

my $cmdline = Perinci::CmdLine::Any->new(
    url => "/Complete/Locale/complete_locale",
    program_name => "complete-locale",
    log => 1,
    read_config => 0,
    read_env => 0,
);

$cmdline->run;

# ABSTRACT: Complete from list of supported locales on the system
# PODNAME: complete-locale

__END__

=pod

=encoding UTF-8

=head1 NAME

complete-locale - Complete from list of supported locales on the system

=head1 VERSION

This document describes version 0.153 of complete-locale (from Perl distribution App-CompleteCLIs), released on 2023-12-01.

=head1 SYNOPSIS

B<complete-locale> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)

B<complete-locale> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)

B<complete-locale> [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>] [B<L<--format|/"--format=s">>=I<name>|B<L<--json|/"--json">>] [B<L<--(no)naked-re...

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

=over

=item B<--word>=I<s>*

script/complete-locale  view on Meta::CPAN


=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 complete-locale complete-locale

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 complete-locale 'p/*/`complete-locale`/'

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.

t/00-compile.t  view on Meta::CPAN

    'script/complete-from-schema',
    'script/complete-gid',
    'script/complete-group',
    'script/complete-hash-key',
    'script/complete-idx-listed-stock-code',
    'script/complete-int',
    'script/complete-kernel',
    'script/complete-known-host',
    'script/complete-known-mac',
    'script/complete-language-code',
    'script/complete-locale',
    'script/complete-manpage',
    'script/complete-manpage-section',
    'script/complete-module',
    'script/complete-path-env-elem',
    'script/complete-perl-builtin-function',
    'script/complete-perl-builtin-symbol',
    'script/complete-perl-version',
    'script/complete-perlmv-scriptlet',
    'script/complete-pid',
    'script/complete-pod',

t/author-critic.t  view on Meta::CPAN

}


use strict;
use warnings;

# this test was generated with Dist::Zilla::Plugin::Test::Perl::Critic::Subset 3.001.006

use Test::Perl::Critic (-profile => "") x!! -e "";

my $filenames = ['lib/App/CompleteCLIs.pm','script/complete-acme-metasyntactic-meta-category','script/complete-acme-metasyntactic-meta-theme','script/complete-acme-metasyntactic-meta-theme-and-category','script/complete-array-elem','script/complete-c...
unless ($filenames && @$filenames) {
    $filenames = -d "blib" ? ["blib"] : ["lib"];
}

all_critic_ok(@$filenames);



( run in 1.290 second using v1.01-cache-2.11-cpan-ceb78f64989 )