Git Product home page Git Product logo

bash-completion-plugins-app-cmd's Introduction

NAME

Bash::Completion::Plugins::App::Cmd - A Bash::Completion plugin for writing App::Cmd plugins

VERSION

version 0.01

SYNOPSIS

use parent 'Bash::Completion::Plugins::App::Cmd';

# fill in everything you normally would for Bash::Completion,
# except for complete

sub command_class { 'My::Cmd' } # mandatory

DESCRIPTION

This is a Bash::Completion plugin that assists in writing other Bash::Completion plugins for programs that use App::Cmd. Everything is done similar to writing a normal Bash::Completion plugin, except you need to define the "command_class" method rather than the "complete" in 'Bash::Completion::Plugin' method. "command_class" is the name of the class that you use use App::Cmd::Setup -app from.

METHODS

complete

Populates the Bash::Completion request with commands from the given App::Cmd class.

command_class

Returns the name of the class that this plugin will extract command names from. This method must be implemented by subclasses.

SEE ALSO

App::Cmd, Bash::Completion

AUTHOR

Rob Hoelz <[email protected]>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Rob Hoelz.

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://github.com/hoelzro/bash-completion-plugins-app-cmd/issues

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.