lib/commands/start.rb in git-pivotal-tracker-centro-1.0.0.rc1 vs lib/commands/start.rb in git-pivotal-tracker-centro-1.0.0.rc2

- old
+ new

@@ -1,17 +1,19 @@ require 'commands/map' require 'commands/bug' require 'commands/card' require 'commands/chore' require 'commands/feature' +require 'commands/story' module Commands class Start COMMAND_MAP = Map.new.merge({ "bug" => Commands::Bug, "chore" => Commands::Chore, "feature" => Commands::Feature, + "story" => Commands::Story, /^\d+$/ => Commands::Card }) class << self def for(*args) @@ -28,10 +30,10 @@ instance end end def display_usage_instructions_and_quit(identifier) - puts "ERROR: Unknown card identifier given: '#{identifier}'. Valid options are 'bug', 'chore', 'feature', or the card number." + puts "ERROR: Unknown card identifier given: '#{identifier}'. Valid options are 'story', 'bug', 'chore', 'feature', or the card number." exit 1 end end end