Class: GithubCLI::Commands::Issues
- Inherits:
-
GithubCLI::Command
- Object
- Thor
- GithubCLI::Command
- GithubCLI::Commands::Issues
- Defined in:
- lib/github_cli/commands/issues.rb
Constant Summary
Constants inherited from GithubCLI::Command
GithubCLI::Command::ALIASES, GithubCLI::Command::API_CLASSES, GithubCLI::Command::HELP_COMMAND
Constants inherited from Thor
Thor::HELP_MAPPINGS, Thor::MANPAGES, Thor::THOR_RESERVED_WORDS, Thor::VERSION
Instance Attribute Summary
Attributes included from Thor::Actions
Attributes included from Thor::Base
#args, #options, #parent_options
Instance Method Summary collapse
- #create(user, repo) ⇒ Object
- #edit(user, repo, id) ⇒ Object
- #get(user, repo, id) ⇒ Object
- #list ⇒ Object
- #repo(user, repo) ⇒ Object
Methods inherited from GithubCLI::Command
all, banner, command_to_show, extract_namespace, is_api_command?, output_formats
Methods included from Thor::Actions
#action, #append_to_file, #apply, #chmod, #comment_lines, #copy_file, #create_file, #create_link, #destination_root, #destination_root=, #directory, #empty_directory, #find_in_source_paths, #gsub_file, #in_root, included, #initialize, #inject_into_class, #insert_into_file, #inside, #link_file, #prepend_to_file, #relative_to_original_destination_root, #remove_file, #run, #run_ruby_script, #source_paths, #template, #thor, #uncomment_lines
Methods inherited from Thor
check_unknown_options!, check_unknown_options?, default_task, desc, global_flags, handle_no_task_error, #help, help, long_desc, map, method_option, method_options, printable_tasks, register, subcommand, subcommands, task_help
Methods included from Thor::Base
included, #initialize, register_klass_file, shell, shell=, subclass_files, subclasses
Instance Method Details
#create(user, repo) ⇒ Object
71 72 73 |
# File 'lib/github_cli/commands/issues.rb', line 71 def create(user, repo) Issue.create user, repo, [:params], [:format] end |
#edit(user, repo, id) ⇒ Object
90 91 92 |
# File 'lib/github_cli/commands/issues.rb', line 90 def edit(user, repo, id) Issue.edit user, repo, id, [:params], [:format] end |
#get(user, repo, id) ⇒ Object
53 54 55 |
# File 'lib/github_cli/commands/issues.rb', line 53 def get(user, repo, id) Issue.get user, repo, id, [:params], [:format] end |
#list ⇒ Object
25 26 27 |
# File 'lib/github_cli/commands/issues.rb', line 25 def list Issue.all [:params], [:format] end |
#repo(user, repo) ⇒ Object
48 49 50 |
# File 'lib/github_cli/commands/issues.rb', line 48 def repo(user, repo) Issue.all_repo user, repo, [:params], [:format] end |