# Console

final class Console

## Methods

static Console
getInstance()

Get app instance

void
loadDefaultCommands()

Default command is base tool to manage SLiMS such as, plugin, db etc.

void
loadPluginCommands()

Load user command based on `CreateCommand`

void
registerCommand(Command $command)

Register custom command

void
run()

Running all console operation if on cli interface

## Details

###
at line 35
`static Console getInstance()`

Get app instance

#### Return Value

Console |

###
at line 48
`void loadDefaultCommands()`

Default command is base tool to manage SLiMS such as, plugin, db etc.

#### Return Value

void |

###
at line 64
`void loadPluginCommands()`

Load user command based on `CreateCommand`

#### Return Value

void |

###
at line 81
`void registerCommand(Command $command)`

Register custom command

#### Parameters

Command | $command |

#### Return Value

void |

###
at line 92
`void run()`

Running all console operation if on cli interface

#### Return Value

void |