Giter Site home page Giter Site logo

cpran's Introduction

NAME

CPrAN - A package manager for Praat

SYNOPSIS

use CPrAN;
CPrAN->run;

DESCRIPTION

CPrAN is the parent class for an App::Cmd application to search, install, remove and update Praat plugins.

As a App::Cmd application, use of this module is separated over a number of different files. The main script invokes the root module and executes it, as in the example given in the SYNOPSIS.

CPrAN commands (inhabiting the CPrAN::Command namespace) can call the methods described below to perform general CPrAN-related actions.

OPTIONS

  • --praat=FILE

    The path to use as binary for Praat. See the FILES section for information on the platform-dependant default values used.

  • --pref-dir=DIR

    The path to use as the preferences directory for Praat. See the FILES section for information on the platform-dependant default values used.

    This option used to be called --praat.

  • --root=DIR

    The path to use as the CPrAN root directory. See the FILES section for information on the platform-dependant default values used.

    This option used to be called --cpran.

  • --token=TOKEN

  • --group=NUMBER

  • --url=URL

    These options set the credentials to talk to the GitLab API to obtain the plugin archives and descriptors. As such, it is implementation-dependant, and is currently tied to GitLab.

    These options used to be called --api-XXX, where XXX is their current name.

  • --verbose, --v

    Increase the verbosity of the output. This option can be called multiple times to make the program even more talkative.

  • --quiet, --q

    Opposed to --verbose, this option suppresses all output. If both options are set simultaneously, this one takes precedence.

  • --debug, --D

    Enables the output of debug information. Like --verbose, this option can be used multiple times to increase the number of debug messages that are printed.

  • _yesno()

    Gets either a yes or a no answer from STDIN. As arguments, it first receives a reference to the options hash, followed by the default answer (ie, the answer that will be entered if the user simply presses enter).

      $self->yes(1);            # Will automatically say 'yes'
      print "Yes or no?";
      if ($self->_yesno( $default )) { print "You said yes\n" }
      else { print "You said no\n" }
    

    By default, responses matching /^y(es)?$/i are considered to be yes responses.

AUTHOR

José Joaquín Atria [email protected]

LICENSE

Copyright 2015-2017 José Joaquín Atria

This module is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

CPrAN, CPrAN::Plugin, CPrAN::Command::deps, CPrAN::Command::init, CPrAN::Command::install, CPrAN::Command::list, CPrAN::Command::remove, CPrAN::Command::search, CPrAN::Command::show, CPrAN::Command::test, CPrAN::Command::update, CPrAN::Command::upgrade

cpran's People

Contributors

drammock avatar jjatria avatar psibre avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.