Class: Shard::CLI::Config
- Inherits:
-
Object
- Object
- Shard::CLI::Config
- Defined in:
- lib/shard/cli/config.rb
Class Method Summary collapse
-
.run ⇒ Object
# Class Methods # #.
Instance Method Summary collapse
-
#run ⇒ Object
# Instance Methods # #.
Class Method Details
.run ⇒ Object
# Class Methods #
#
13 14 15 |
# File 'lib/shard/cli/config.rb', line 13 def self.run new.run end |
Instance Method Details
#run ⇒ Object
# Instance Methods #
#
23 24 25 26 27 28 29 |
# File 'lib/shard/cli/config.rb', line 23 def run if credentials_saved? replace_credentials else add_credentials end end |