Class: RedmineCLI::Subcommands::User

Inherits:
Thor
  • Object
show all
Extended by:
Helpers::Output
Includes:
Helpers::Input, Helpers::Output, RedmineRest
Defined in:
lib/redmine_cli/subcommands/user.rb

Overview

All methods for working with users

Instance Method Summary collapse

Methods included from Helpers::Output

erb, message, print_object_list, print_prompt_message

Methods included from Helpers::Input

#ask, #ask_for_object, #ask_for_user, #ask_from_text_editor, #ask_url

Instance Method Details

#find(*args) ⇒ Object



16
17
18
19
20
# File 'lib/redmine_cli/subcommands/user.rb', line 16

def find(*args)
  input = args.join ' '

  puts erb('user/find', users: users_from_input(input))
end