class

AzuCLI::Plugins::ExternalPlugin

Inherits AzuCLI::Plugins::Base < Reference < Object

External plugin for loading plugins from external sources

Constructors

new(name : String, config : Hash(String, String))
Source

Instance methods

after_command(command : Commands::Base, result : Commands::Result)

Called after command execution

Source
before_command(command : Commands::Base, args : Array(String))

Called before command execution

Source
config
Source
config=(config : Hash(String, String))
Source
get_config(key : String, default : String = "") : String

Get plugin configuration

Source
has_config?(key : String) : Bool

Check if plugin has specific configuration

Source
on_error(command : Commands::Base, error : Exception)

Called when an error occurs

Source
on_load

Called when plugin is loaded

Source