Class: SecretHub::Commands::List

Inherits:
Base
  • Object
show all
Defined in:
lib/secret_hub/commands/list.rb

Instance Method Summary collapse

Methods inherited from Base

#github

Instance Method Details

#runObject



13
14
15
16
17
18
19
# File 'lib/secret_hub/commands/list.rb', line 13

def run
  repo = args['REPO']
  say "!txtblu!#{repo}:"
  github.secrets(repo).each do |secret|
    say "- !txtpur!#{secret}"
  end
end