Sha256: 6bfff6fff11b2c0e2b3831483da053a13216980807d7b54d0b7338bdf1a3c6c4
Contents?: true
Size: 408 Bytes
Versions: 2
Compression:
Stored size: 408 Bytes
Contents
module Climine::Command class User < Base default_command :user desc "user [ID]", "get Redmine Users" option :name, type: :string, aliases: '-n', banner: "NAME", desc: "filter users on their login, firstname, lastname and mail" def user(id=nil) if id render :user, redmine.user(id) else render :users, redmine.users(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/user.rb |
climine-0.0.1 | lib/climine/command/user.rb |