Class: CodeInventory::CLI::App
- Inherits:
-
Thor
- Object
- Thor
- CodeInventory::CLI::App
- Defined in:
- lib/codeinventory_plugin.rb
Instance Method Summary collapse
Instance Method Details
#github(access_token, org) ⇒ Object
11 12 13 14 15 |
# File 'lib/codeinventory_plugin.rb', line 11 def github(access_token, org) source = CodeInventory::GitHub.new({ access_token: access_token }, org, overrides: [:overrides], exclude: [:exclude]) inventory = CodeInventory::Inventory.new(source) puts JSON.pretty_generate(inventory.projects) end |