Module: Gill
- Extended by:
- CLI
- Defined in:
- lib/gill/cli.rb,
lib/gill/git.rb,
lib/gill/gill.rb,
lib/gill/parse.rb,
lib/gill/config.rb,
lib/gill/helper.rb,
lib/gill/import.rb,
lib/gill/remove.rb,
lib/gill/version.rb,
lib/gill/exceptions/error.rb,
lib/gill/exceptions/cache_error.rb,
lib/gill/exceptions/syntax_error.rb,
lib/gill/exceptions/argument_error.rb,
lib/gill/exceptions/directory_error.rb,
lib/gill/exceptions/category_missing.rb,
lib/gill/exceptions/repository_error.rb,
lib/gill/exceptions/repository_missing.rb
Defined Under Namespace
Modules: CLI, Helper, Settings Classes: ArgumentError, CacheError, CategoryMissing, DirectoryError, Error, Git, Import, Parse, Remove, RepositoryError, RepositoryMissing, SyntaxError
Constant Summary collapse
- ENV_BLACKLIST =
GIT ENV Variables that interfere with paths
%w(GIT_DIR GIT_INDEX_FILE GIT_WORK_TREE)
- VERSION =
VERSION
'1.3.0'
Class Method Summary collapse
-
.config ⇒ Object
Gill config getter method.
-
.config=(config = nil) ⇒ Object
Gill config setter method.
-
.setup ⇒ Object
Setup.
Methods included from CLI
import, list, optparse, pull, remove, update, usage
Methods included from Helper
#ask, #basename, #blue, #folder_empty?, #green, #parent, #red
Class Method Details
.config ⇒ Object
Gill config getter method
26 27 28 29 |
# File 'lib/gill/gill.rb', line 26 def Gill.config return @config if defined?(@config) Gill.config = Settings::Config.new end |
.config=(config = nil) ⇒ Object
Gill config setter method
17 18 19 |
# File 'lib/gill/gill.rb', line 17 def Gill.config=(config=nil) @config = config end |