Class: GitFit::GhConfigCLI
- Inherits:
-
Thor
- Object
- Thor
- GitFit::GhConfigCLI
- Includes:
- GhHelpers
- Defined in:
- lib/git_fit/cli/gh_cli.rb
Instance Method Summary collapse
Methods included from GhHelpers
Instance Method Details
#get(key) ⇒ Object
58 59 60 |
# File 'lib/git_fit/cli/gh_cli.rb', line 58 def get(key) puts gh('variable', 'get', key) end |
#list ⇒ Object
48 49 50 |
# File 'lib/git_fit/cli/gh_cli.rb', line 48 def list puts gh('variable', 'list') end |
#set(key, value) ⇒ Object
53 54 55 |
# File 'lib/git_fit/cli/gh_cli.rb', line 53 def set(key, value) puts gh('variable', 'set', key, '--body', value) end |