John SJ Anderson > App-GitGot > App::GitGot::Command

Download:
App-GitGot-1.30.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.30   Source  

NAME ^

App::GitGot::Command - Base class for App::GitGot commands

VERSION ^

version 1.30

METHODS ^

local_repo

Checks to see if $CWD is inside a Git repo managed by Got, and returns the corresponding App::GitGot::Repo object if it is.

max_length_of_an_active_repo_label

Returns the length of the longest name in the active repo list.

prompt_yn

Takes a message argument and uses it to prompt for a yes/no response.

Response defaults to 'no'.

search_repos

Returns a App::GotGot::Repositories object containing all repos managed by Got.

write_config

Dumps configuration out to disk.

AUTHOR ^

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2015 by John SJ Anderson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: