Module: Abt::Providers::Harvest
- Defined in:
- lib/abt/providers/harvest.rb,
lib/abt/providers/harvest/api.rb,
lib/abt/providers/harvest/path.rb,
lib/abt/providers/harvest/base_command.rb,
lib/abt/providers/harvest/commands/pick.rb,
lib/abt/providers/harvest/commands/stop.rb,
lib/abt/providers/harvest/configuration.rb,
lib/abt/providers/harvest/commands/clear.rb,
lib/abt/providers/harvest/commands/share.rb,
lib/abt/providers/harvest/commands/start.rb,
lib/abt/providers/harvest/commands/tasks.rb,
lib/abt/providers/harvest/commands/track.rb,
lib/abt/providers/harvest/harvest_helpers.rb,
lib/abt/providers/harvest/commands/current.rb,
lib/abt/providers/harvest/commands/projects.rb,
lib/abt/providers/harvest/services/task_picker.rb,
lib/abt/providers/harvest/commands/write_config.rb,
lib/abt/providers/harvest/services/project_picker.rb
Defined Under Namespace
Modules: Commands, Services
Classes: Api, BaseCommand, Configuration, HarvestHelpers, Path
Class Method Summary
collapse
Class Method Details
.command_class(name) ⇒ Object
14
15
16
17
|
# File 'lib/abt/providers/harvest.rb', line 14
def self.command_class(name)
const_name = Helpers.command_to_const(name)
Commands.const_get(const_name) if Commands.const_defined?(const_name)
end
|
.command_names ⇒ Object
10
11
12
|
# File 'lib/abt/providers/harvest.rb', line 10
def self.command_names
Commands.constants.sort.map { |constant_name| Helpers.const_to_command(constant_name) }
end
|