Module: Calicli
- Defined in:
- lib/calicli.rb,
lib/calicli/cli.rb,
lib/calicli/version.rb,
lib/calicli/cli/base.rb,
lib/calicli/configuration.rb
Defined Under Namespace
Modules: CLI
Classes: Configuration, Error
Constant Summary
collapse
- VERSION =
"1.0.2"
Class Method Summary
collapse
Class Method Details
.app_directory ⇒ Object
21
22
23
24
25
|
# File 'lib/calicli.rb', line 21
def self.app_directory
dir = File.join(Calicli.home_dir,".calicli")
FileUtils.mkdir_p dir unless File.exists?(dir)
dir
end
|
.home_dir ⇒ Object
17
18
19
|
# File 'lib/calicli.rb', line 17
def self.home_dir
Dir.home
end
|