Module: Kiq

Defined in:
lib/kiq/helpers/version.rb,
lib/kiq.rb,
lib/kiq/run.rb,
lib/kiq/backer.rb,
lib/kiq/project.rb,
lib/kiq/helpers/display.rb,
lib/kiq/helpers/constants.rb

Overview

Contains all relevant constants for displaying information

Defined Under Namespace

Modules: CLI Classes: Display

Constant Summary collapse

FILE =
File.expand_path('.kiq')
VERSION =
"0.1.9"
TITLE_HASH =
{
  'NAME' => "kiq: a command line interface for backing Kickstarter projects.\n\n",
  'SYNOPSIS' => "kiq [command] [arguments...]\n\n",
  'VERSION' => "#{Kiq::VERSION}\n\n"
}
COMMAND_HASH =
{
  'list' => ['     - Display a project including backers and backed amounts', '[project name]'],
  'project' => ['  - Create a new project', '[project name] [amount]'],
  'back' => ['     - Back a project', '[backer name] [project name] [credit card number] [backing amount]'],
  'backers' => ['  - Display a list of projects that a backer has backed and amounts backed', '[backer name]']
}
SPACES =
'    '
GLOBAL_COMMAND =
"--help   - Get help for a command\n\n"