NAME

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

VERSION

version 1.28

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.