Acme-CPANModules-Parse-UnixShellCommandLine

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030.
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
lib/Acme/CPANModules/Parse/UnixShellCommandLine.pm
t/00-compile.t
t/author-critic.t
t/author-pod-coverage.t
t/author-pod-syntax.t
weaver.ini

META.json  view on Meta::CPAN

{
   "abstract" : "List of modules that parse command-line like Unix shells",
   "author" : [
      "perlancar <perlancar@cpan.org>"
   ],
   "dynamic_config" : 0,
   "generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010",
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
      "version" : 2
   },
   "name" : "Acme-CPANModules-Parse-UnixShellCommandLine",
   "prereqs" : {
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "develop" : {
         "requires" : {
            "Pod::Coverage::TrustPod" : "0",
            "Test::Perl::Critic" : "0",

META.json  view on Meta::CPAN

            "Complete::Fish" : "0",
            "Complete::Tcsh" : "0",
            "Complete::Zsh" : "0",
            "Parse::CommandLine" : "0",
            "Parse::CommandLine::Regexp" : "0",
            "Text::ParseWords" : "0"
         }
      }
   },
   "provides" : {
      "Acme::CPANModules::Parse::UnixShellCommandLine" : {
         "file" : "lib/Acme/CPANModules/Parse/UnixShellCommandLine.pm",
         "version" : "0.003"
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-Parse-UnixShellCommandLine"
      },
      "homepage" : "https://metacpan.org/release/Acme-CPANModules-Parse-UnixShellCommandLine",
      "repository" : {
         "type" : "git",
         "url" : "git://github.com/perlancar/perl-Acme-CPANModules-Parse-UnixShellCommandLine.git",
         "web" : "https://github.com/perlancar/perl-Acme-CPANModules-Parse-UnixShellCommandLine"
      }
   },
   "version" : "0.003",
   "x_Dist_Zilla" : {
      "perl" : {
         "version" : "5.038000"
      },
      "plugins" : [
         {
            "class" : "Dist::Zilla::Plugin::Acme::CPANModules",

META.yml  view on Meta::CPAN

---
abstract: 'List of modules that parse command-line like Unix shells'
author:
  - 'perlancar <perlancar@cpan.org>'
build_requires:
  File::Spec: '0'
  IO::Handle: '0'
  IPC::Open3: '0'
  Test::More: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Acme-CPANModules-Parse-UnixShellCommandLine
provides:
  Acme::CPANModules::Parse::UnixShellCommandLine:
    file: lib/Acme/CPANModules/Parse/UnixShellCommandLine.pm
    version: '0.003'
requires:
  strict: '0'
  warnings: '0'
resources:
  bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-Parse-UnixShellCommandLine
  homepage: https://metacpan.org/release/Acme-CPANModules-Parse-UnixShellCommandLine
  repository: git://github.com/perlancar/perl-Acme-CPANModules-Parse-UnixShellCommandLine.git
version: '0.003'
x_Dist_Zilla:
  perl:
    version: '5.038000'
  plugins:
    -
      class: Dist::Zilla::Plugin::Acme::CPANModules
      name: Acme::CPANModules
      version: '0.005'
    -

Makefile.PL  view on Meta::CPAN

# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.030.
use strict;
use warnings;



use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
  "ABSTRACT" => "List of modules that parse command-line like Unix shells",
  "AUTHOR" => "perlancar <perlancar\@cpan.org>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "Acme-CPANModules-Parse-UnixShellCommandLine",
  "LICENSE" => "perl",
  "NAME" => "Acme::CPANModules::Parse::UnixShellCommandLine",
  "PREREQ_PM" => {
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Test::More" => 0
  },

README  view on Meta::CPAN

NAME
    Acme::CPANModules::Parse::UnixShellCommandLine - List of modules that
    parse command-line like Unix shells

VERSION
    This document describes version 0.003 of
    Acme::CPANModules::Parse::UnixShellCommandLine (from Perl distribution
    Acme-CPANModules-Parse-UnixShellCommandLine), released on 2023-10-31.

DESCRIPTION
    Sometimes you need to parse a Unix shell command-line string, e.g. when
    you want to break it into "words".

    In general I recommend Text::ParseWords as it is a core module. If you
    want a little more speed, try Parse::CommandLine::Regexp (see reference
    to benchmark in See Also).

ACME::CPANMODULES ENTRIES
    Complete::Bash
        Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>

README  view on Meta::CPAN

    An Acme::CPANModules::* module, like this module, contains just a list
    of module names that share a common characteristics. It is a way to
    categorize modules and document CPAN. See Acme::CPANModules for more
    details.

  What are ways to use this Acme::CPANModules module?
    Aside from reading this Acme::CPANModules module's POD documentation,
    you can install all the listed modules (entries) using cpanm-cpanmodules
    script (from App::cpanm::cpanmodules distribution):

     % cpanm-cpanmodules -n Parse::UnixShellCommandLine

    Alternatively you can use the cpanmodules CLI (from App::cpanmodules
    distribution):

        % cpanmodules ls-entries Parse::UnixShellCommandLine | cpanm -n

    or Acme::CM::Get:

        % perl -MAcme::CM::Get=Parse::UnixShellCommandLine -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n

    or directly:

        % perl -MAcme::CPANModules::Parse::UnixShellCommandLine -E'say $_->{module} for @{ $Acme::CPANModules::Parse::UnixShellCommandLine::LIST->{entries} }' | cpanm -n

    This Acme::CPANModules module also helps lcpan produce a more meaningful
    result for "lcpan related-mods" command when it comes to finding related
    modules for the modules listed in this Acme::CPANModules module. See
    App::lcpan::Cmd::related_mods for more details on how "related modules"
    are found.

HOMEPAGE
    Please visit the project's homepage at
    <https://metacpan.org/release/Acme-CPANModules-Parse-UnixShellCommandLin
    e>.

SOURCE
    Source repository is at
    <https://github.com/perlancar/perl-Acme-CPANModules-Parse-UnixShellComma
    ndLine>.

SEE ALSO
    Acme::CPANModules - about the Acme::CPANModules namespace

    cpanmodules - CLI tool to let you browse/view the lists

    Bencher::Scenario::CmdLineParsingModules

AUTHOR

README  view on Meta::CPAN

COPYRIGHT AND LICENSE
    This software is copyright (c) 2023, 2021 by perlancar
    <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.

BUGS
    Please report any bugs or feature requests on the bugtracker website
    <https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-Pars
    e-UnixShellCommandLine>

    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.

dist.ini  view on Meta::CPAN

;---------------------------------
author  = perlancar <perlancar@cpan.org>
copyright_holder = perlancar <perlancar@cpan.org>
license = Perl_5
;---------------------------------

version=0.003

name=Acme-CPANModules-Parse-UnixShellCommandLine

[Acme::CPANModules]

[@Author::PERLANCAR]
:version=0.608

[Prereqs]
strict=0
warnings=0

lib/Acme/CPANModules/Parse/UnixShellCommandLine.pm  view on Meta::CPAN

package Acme::CPANModules::Parse::UnixShellCommandLine;

use strict;
use warnings;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2023-10-31'; # DATE
our $DIST = 'Acme-CPANModules-Parse-UnixShellCommandLine'; # DIST
our $VERSION = '0.003'; # VERSION

our $LIST = {
    summary => "List of modules that parse command-line like Unix shells",
    description => <<'_',

Sometimes you need to parse a Unix shell command-line string, e.g. when you want
to break it into "words".

In general I recommend <pm:Text::ParseWords> as it is a core module. If you want
a little more speed, try <pm:Parse::CommandLine::Regexp> (see reference to
benchmark in See Also).

_
    entries => [
        {
            module=>'Complete::Bash',

lib/Acme/CPANModules/Parse/UnixShellCommandLine.pm  view on Meta::CPAN

        {
            module=>'Parse::CommandLine',
        },
        {
            module=>'Parse::CommandLine::Regexp',
        },
    ],
};

1;
# ABSTRACT: List of modules that parse command-line like Unix shells

__END__

=pod

=encoding UTF-8

=head1 NAME

Acme::CPANModules::Parse::UnixShellCommandLine - List of modules that parse command-line like Unix shells

=head1 VERSION

This document describes version 0.003 of Acme::CPANModules::Parse::UnixShellCommandLine (from Perl distribution Acme-CPANModules-Parse-UnixShellCommandLine), released on 2023-10-31.

=head1 DESCRIPTION

Sometimes you need to parse a Unix shell command-line string, e.g. when you want
to break it into "words".

In general I recommend L<Text::ParseWords> as it is a core module. If you want
a little more speed, try L<Parse::CommandLine::Regexp> (see reference to
benchmark in See Also).

=head1 ACME::CPANMODULES ENTRIES

=over

lib/Acme/CPANModules/Parse/UnixShellCommandLine.pm  view on Meta::CPAN

An Acme::CPANModules::* module, like this module, contains just a list of module
names that share a common characteristics. It is a way to categorize modules and
document CPAN. See L<Acme::CPANModules> for more details.

=head2 What are ways to use this Acme::CPANModules module?

Aside from reading this Acme::CPANModules module's POD documentation, you can
install all the listed modules (entries) using L<cpanm-cpanmodules> script (from
L<App::cpanm::cpanmodules> distribution):

 % cpanm-cpanmodules -n Parse::UnixShellCommandLine

Alternatively you can use the L<cpanmodules> CLI (from L<App::cpanmodules>
distribution):

    % cpanmodules ls-entries Parse::UnixShellCommandLine | cpanm -n

or L<Acme::CM::Get>:

    % perl -MAcme::CM::Get=Parse::UnixShellCommandLine -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n

or directly:

    % perl -MAcme::CPANModules::Parse::UnixShellCommandLine -E'say $_->{module} for @{ $Acme::CPANModules::Parse::UnixShellCommandLine::LIST->{entries} }' | cpanm -n

This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
are found.

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/release/Acme-CPANModules-Parse-UnixShellCommandLine>.

=head1 SOURCE

Source repository is at L<https://github.com/perlancar/perl-Acme-CPANModules-Parse-UnixShellCommandLine>.

=head1 SEE ALSO

L<Acme::CPANModules> - about the Acme::CPANModules namespace

L<cpanmodules> - CLI tool to let you browse/view the lists

L<Bencher::Scenario::CmdLineParsingModules>

=head1 AUTHOR

lib/Acme/CPANModules/Parse/UnixShellCommandLine.pm  view on Meta::CPAN


=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2023, 2021 by perlancar <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.

=head1 BUGS

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

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.

=cut

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

use strict;
use warnings;

# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058

use Test::More;

plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);

my @module_files = (
    'Acme/CPANModules/Parse/UnixShellCommandLine.pm'
);



# no fake home requested

my @switches = (
    -d 'blib' ? '-Mblib' : '-Ilib',
);

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/Acme/CPANModules/Parse/UnixShellCommandLine.pm'];
unless ($filenames && @$filenames) {
    $filenames = -d "blib" ? ["blib"] : ["lib"];
}

all_critic_ok(@$filenames);



( run in 0.753 second using v1.01-cache-2.11-cpan-df04353d9ac )