class AzuCLI::Plugins::DatabasePlugin

Overview

Database plugin for database operations

Defined in:

azu_cli/plugins/database_plugin.cr

Constructors

Instance Method Summary

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

def self.new #

[View source]

Instance Method Detail

def after_command(command : Commands::Base, result : Commands::Result) #
Description copied from class AzuCLI::Plugins::Base

Called after command execution


[View source]
def before_command(command : Commands::Base, args : Array(String)) #
Description copied from class AzuCLI::Plugins::Base

Called before command execution


[View source]
def on_error(command : Commands::Base, error : Exception) #
Description copied from class AzuCLI::Plugins::Base

Called when an error occurs


[View source]