Class: GitFit::RemoteSecretCLI

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

Instance Method Summary collapse

Methods included from RemoteHelpers

#detect_repo, #gh

Instance Method Details

#delete(key) ⇒ Object



35
36
37
# File 'lib/git_fit/cli/remote_cli.rb', line 35

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

#listObject



25
26
27
# File 'lib/git_fit/cli/remote_cli.rb', line 25

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

#set(key) ⇒ Object



30
31
32
# File 'lib/git_fit/cli/remote_cli.rb', line 30

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