Class: Tlux::Commands::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/tlux/commands/base.rb

Direct Known Subclasses

ListCommand, OpenCommand, RunCommand

Instance Method Summary collapse

Instance Method Details

#config_pathObject



8
9
10
# File 'lib/tlux/commands/base.rb', line 8

def config_path
  File.join(Dir.home, '.tlux')
end

#setupObject



4
5
6
# File 'lib/tlux/commands/base.rb', line 4

def setup
  FileUtils.mkdir_p(File.join(Dir.home, '.tlux'))
end