Sha256: 13961f33bb8cbe2772b102868f2813afba48829f8710a3d2ab36e2beff11c3bf

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

module Climine::Command
  class Project < Base
    default_command :project

    desc "project [PROJECT_ID]", "get Redmine Projects."
    def project(id=nil)
      if id
        render :project, redmine.project(id)
      else
        render :projects, redmine.projects(options.to_hash)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
climine-0.0.2 lib/climine/command/project.rb
climine-0.0.1 lib/climine/command/project.rb