Module: Kontena::Plugin::Shell
- Defined in:
- lib/kontena/plugin/shell.rb,
lib/kontena/plugin/shell/command.rb,
lib/kontena/plugin/shell/context.rb,
lib/kontena/plugin/shell/session.rb,
lib/kontena/plugin/shell/version.rb,
lib/kontena/plugin/shell/completer.rb,
lib/kontena/plugin/shell/commands/env.rb,
lib/kontena/plugin/shell/commands/exit.rb,
lib/kontena/plugin/shell/commands/help.rb,
lib/kontena/plugin/shell/prompt_loader.rb,
lib/kontena/plugin/shell/commands/batch.rb,
lib/kontena/plugin/shell/commands/debug.rb,
lib/kontena/plugin/shell/commands/kontena.rb,
lib/kontena/plugin/shell/commands/batch_do.rb,
lib/kontena/plugin/shell/stacks_common_ext.rb,
lib/kontena/plugin/shell/commands/context_up.rb,
lib/kontena/plugin/shell/commands/context_top.rb
Defined Under Namespace
Modules: Completer, StacksCommonExt
Classes: BatchCommand, BatchDoCommand, Command, Context, ContextTopCommand, ContextUpCommand, DebugCommand, EnvCommand, ExitCommand, HelpCommand, KontenaCommand, PromptLoader, Session, ShellCommand, SubCommand
Constant Summary
collapse
- VERSION =
'0.2.0'
Class Method Summary
collapse
Class Method Details
.command(name) ⇒ Object
8
9
10
|
# File 'lib/kontena/plugin/shell.rb', line 8
def self.command(name)
commands[name]
end
|
.commands ⇒ Object
4
5
6
|
# File 'lib/kontena/plugin/shell.rb', line 4
def self.commands
@commands ||= {}
end
|