Sha256: ae2d98c583593b658f1bb852684d778cad141fc9a47deeb8ef2734374cf8aadd

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 Bytes

Contents

module GetToWork
  class CLI < Thor
    include GetToWork::Menu

    desc "bootstrap", "creates .gtw configuration for your current working directory"
    def bootstrap
      GetToWork::Command::Bootstrap.run(cli: self)
    end

    desc "start <Pivotal Tracker Story ID or URL>", "start working on a pivotal tracker story"
    def start(pt_id = nil)
      GetToWork::Command::Start.run(cli: self, pt_id: pt_id)
    end

    desc "stop", "#stop working on your current story"
    def stop
      GetToWork::Command::Stop.run(cli: self)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
get_to_work-0.1.1 lib/get_to_work/cli.rb
get_to_work-0.1.0 lib/get_to_work/cli.rb