Class: Vkit::CLI::Commands::ResetCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Vkit::CLI::Commands::ResetCommand
- Defined in:
- lib/vkit/cli/commands/reset_command.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/vkit/cli/commands/reset_command.rb', line 5 def call print "⚠️ This will clear all stored credentials. Continue? (y/N): " response = $stdin.gets.chomp unless response.downcase == 'y' puts "Cancelled" return end credential_store.clear! puts "🧹 All credentials cleared" end |