Class: WifiWand::Commands::Shell

Inherits:
Base
  • Object
show all
Defined in:
lib/wifi_wand/commands/shell.rb

Constant Summary

Constants inherited from Base

Base::DEFAULT_INVOCATION_OPTIONS

Instance Attribute Summary

Attributes inherited from Base

#cli, #metadata

Instance Method Summary collapse

Methods inherited from Base

#aliases, allow_invocation_options, allowed_invocation_options, #bind, binding_sources, binds, command_metadata, declared_metadata, #help_text, #initialize, #validate_options

Constructor Details

This class inherits a constructor from WifiWand::Commands::Base

Instance Method Details

#call(*args) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/wifi_wand/commands/shell.rb', line 17

def call(*args)
  validate_startup_options!(args)

  cli.with_interactive_mode do
    cli.run_shell
  end
end