Class: Rallycat::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/rallycat/help.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/rallycat/help.rb', line 3

def to_s
  <<-HELP
Rallycat is a command-line utility for interacting with Rally. It should be
used to support a command-line centric workflow. Rallycat has the simple goal
of being a lightweight alternative to Rally's web interface. It provides quick
access to Rally features that are important to developers in their day-to-day
work.

Configuration:
  Configuration is available through a ~/.rallycatrc file formatted as YAML.
  The file should have two keys: `username` and `password` for authenticating
  with the Rally API. An additional project attribute can be added to make some
  commands easiser to use. Example:

username: [email protected]
password: pass1234
project:  SuperBad

  Additionally, the `-u [USERNAME]` and `-p [PASSWORD]` flags may be provided
  at runtime and will take higher precedence than the configuration file.

Global Options:
  -u [USERNAME]                           # Your Rally username
  -p [PASSWORD]                           # Your Rally password
  -h, --help                              # Displays this help text

Commands:
  rallycat cat <story number>             # Displays a user story or defect
  rallycat update <task number>           # Updates the state of a task
[--blocked | -b] [--in-progress | -p]
[--completed | -c] [--defined | -d]
[--owner | -o <fullname>]
  rallycat list                           # List iterations and stories
[--project | -p <project name>]
[--iteration | -i <iteration name>]
  rallycat help                           # Displays this help text


  HELP
end