Class: GitFit::GhSecretCLI

Inherits:
Thor
  • Object
show all
Includes:
GhHelpers
Defined in:
lib/git_fit/cli/gh_cli.rb

Instance Method Summary collapse

Methods included from GhHelpers

#detect_repo, #gh

Instance Method Details

#delete(key) ⇒ Object



37
38
39
# File 'lib/git_fit/cli/gh_cli.rb', line 37

def delete(key)
  puts gh('secret', 'delete', key)
end

#listObject



27
28
29
# File 'lib/git_fit/cli/gh_cli.rb', line 27

def list
  puts gh('secret', 'list')
end

#set(key) ⇒ Object



32
33
34
# File 'lib/git_fit/cli/gh_cli.rb', line 32

def set(key)
  puts gh('secret', 'set', key)
end