Sha256: 7db22623a4ba8377f664fc27126c0167b73ff0259d69c71a949b73e0797ba7eb

Contents?: true

Size: 347 Bytes

Versions: 8

Compression:

Stored size: 347 Bytes

Contents

module Climine::Command
  class Project < Base

    desc "get [PROJECT_ID]", "get Redmine Project."
    def get id
      say("required project id!", :red) unless id
      render :project, redmine.project(id)
    end

    desc "list", "get Redmine Projects."
    def list
      render :projects, redmine.projects(options.to_hash)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
climine-0.1.1 lib/climine/command/project.rb
climine-0.1.0 lib/climine/command/project.rb
climine-0.0.8 lib/climine/command/project.rb
climine-0.0.7 lib/climine/command/project.rb
climine-0.0.6 lib/climine/command/project.rb
climine-0.0.5 lib/climine/command/project.rb
climine-0.0.4 lib/climine/command/project.rb
climine-0.0.3 lib/climine/command/project.rb