Class: Tlux::Commands::ListCommand

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

Instance Method Summary collapse

Methods inherited from Base

#config_path, #setup

Instance Method Details

#runObject



4
5
6
7
8
9
10
# File 'lib/tlux/commands/list_command.rb', line 4

def run
  setup

  ignored = %w{. .. generated}

  Dir.entries(config_path).reject { |filename| ignored.include? filename }
end