Class: Githuh::CLI::Commands::User::Info

Inherits:
Base
  • Object
show all
Defined in:
lib/githuh/cli/commands/user/info.rb

Instance Attribute Summary

Attributes inherited from Base

#box, #client, #context, #info, #per_page, #token, #verbose

Instance Method Summary collapse

Methods inherited from Base

inherited

Instance Method Details

#call(**opts) ⇒ Object



18
19
20
21
# File 'lib/githuh/cli/commands/user/info.rb', line 18

def call(**opts)
  super(**opts)
  puts JSON.pretty_generate(client.user.to_hash)
end