class
AzuCLI::Plugins::ExternalPlugin
- AzuCLI::Plugins::ExternalPlugin
- AzuCLI::Plugins::Base
- Reference
- Object
Overview
External plugin for loading plugins from external sources
Defined in:
azu_cli/plugins/external_plugin.crConstructors
Instance Method Summary
-
#after_command(command : Commands::Base, result : Commands::Result)
Called after command execution
-
#before_command(command : Commands::Base, args : Array(String))
Called before command execution
- #config : Hash(String, String)
- #config=(config : Hash(String, String))
-
#get_config(key : String, default : String = "") : String
Get plugin configuration
-
#has_config?(key : String) : Bool
Check if plugin has specific configuration
-
#on_error(command : Commands::Base, error : Exception)
Called when an error occurs
-
#on_load
Called when plugin is loaded
Instance methods inherited from class AzuCLI::Plugins::Base
after_command(command : Commands::Base, result : Commands::Result)
after_command,
before_command(command : Commands::Base, args : Array(String))
before_command,
description : String
description,
description=(description : String)
description=,
disable
disable,
enable
enable,
enabled : Bool
enabled,
enabled=(enabled : Bool)
enabled=,
enabled? : Bool
enabled?,
info : Hash(String, String)
info,
name : String
name,
name=(name : String)
name=,
on_error(command : Commands::Base, error : Exception)
on_error,
on_load
on_load,
on_unload
on_unload,
version : String
version,
version=(version : String)
version=
Constructor methods inherited from class AzuCLI::Plugins::Base
new(name : String, description : String = "", version : String = "1.0.0")
new
Constructor Detail
Instance Method Detail
Description copied from class AzuCLI::Plugins::Base
Called after command execution
def before_command(command : Commands::Base, args : Array(String))
#
Description copied from class AzuCLI::Plugins::Base
Called before command execution
def on_error(command : Commands::Base, error : Exception)
#
Description copied from class AzuCLI::Plugins::Base
Called when an error occurs