Module: Abt

Defined in:
lib/abt.rb,
lib/abt/ari.rb,
lib/abt/cli.rb,
lib/abt/docs.rb,
lib/abt/helpers.rb,
lib/abt/version.rb,
lib/abt/ari_list.rb,
lib/abt/docs/cli.rb,
lib/abt/cli/prompt.rb,
lib/abt/git_config.rb,
lib/abt/http_error.rb,
lib/abt/base_command.rb,
lib/abt/docs/markdown.rb,
lib/abt/providers/git.rb,
lib/abt/providers/asana.rb,
lib/abt/directory_config.rb,
lib/abt/providers/devops.rb,
lib/abt/providers/harvest.rb,
lib/abt/cli/global_commands.rb,
lib/abt/providers/asana/api.rb,
lib/abt/cli/arguments_parser.rb,
lib/abt/providers/asana/path.rb,
lib/abt/providers/devops/api.rb,
lib/abt/providers/devops/path.rb,
lib/abt/providers/harvest/api.rb,
lib/abt/providers/harvest/path.rb,
lib/abt/cli/global_commands/help.rb,
lib/abt/cli/global_commands/share.rb,
lib/abt/cli/global_commands/readme.rb,
lib/abt/cli/global_commands/version.rb,
lib/abt/cli/global_commands/commands.rb,
lib/abt/cli/global_commands/examples.rb,
lib/abt/providers/asana/base_command.rb,
lib/abt/providers/asana/commands/add.rb,
lib/abt/providers/asana/commands/pick.rb,
lib/abt/providers/asana/configuration.rb,
lib/abt/providers/devops/base_command.rb,
lib/abt/providers/git/commands/branch.rb,
lib/abt/providers/asana/commands/clear.rb,
lib/abt/providers/asana/commands/share.rb,
lib/abt/providers/asana/commands/start.rb,
lib/abt/providers/asana/commands/tasks.rb,
lib/abt/providers/devops/commands/pick.rb,
lib/abt/providers/devops/configuration.rb,
lib/abt/providers/harvest/base_command.rb,
lib/abt/providers/devops/commands/clear.rb,
lib/abt/providers/devops/commands/share.rb,
lib/abt/providers/harvest/commands/pick.rb,
lib/abt/providers/harvest/commands/stop.rb,
lib/abt/providers/harvest/configuration.rb,
lib/abt/providers/asana/commands/current.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/asana/commands/finalize.rb,
lib/abt/providers/asana/commands/projects.rb,
lib/abt/providers/devops/commands/current.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/asana/commands/branch_name.rb,
lib/abt/providers/asana/services/task_picker.rb,
lib/abt/providers/devops/commands/work_items.rb,
lib/abt/providers/asana/commands/write_config.rb,
lib/abt/providers/devops/commands/branch_name.rb,
lib/abt/providers/devops/commands/write_config.rb,
lib/abt/providers/devops/services/board_picker.rb,
lib/abt/providers/harvest/services/task_picker.rb,
lib/abt/providers/asana/services/project_picker.rb,
lib/abt/providers/harvest/commands/write_config.rb,
lib/abt/providers/devops/services/project_picker.rb,
lib/abt/providers/harvest/services/project_picker.rb,
lib/abt/providers/devops/services/work_item_picker.rb,
lib/abt/providers/asana/commands/harvest_time_entry_data.rb,
lib/abt/providers/devops/commands/harvest_time_entry_data.rb

Defined Under Namespace

Modules: Docs, Helpers, HttpError, Providers Classes: Ari, AriList, BaseCommand, Cli, DirectoryConfig, GitConfig

Constant Summary collapse

VERSION =
"0.0.32"

Class Method Summary collapse

Class Method Details

.scheme_provider(scheme) ⇒ Object



22
23
24
25
# File 'lib/abt.rb', line 22

def self.scheme_provider(scheme)
  const_name = Helpers.command_to_const(scheme)
  Providers.const_get(const_name) if Providers.const_defined?(const_name)
end

.schemesObject



18
19
20
# File 'lib/abt.rb', line 18

def self.schemes
  Providers.constants.sort.map { |constant_name| Helpers.const_to_command(constant_name) }
end