Module: Kontena::Cli::Plugins::Common

Included in:
ListCommand, SearchCommand, UpgradeCommand
Defined in:
lib/kontena/cli/plugins/common.rb

Instance Method Summary collapse

Instance Method Details

#short_name(name) ⇒ Object



4
5
6
# File 'lib/kontena/cli/plugins/common.rb', line 4

def short_name(name)
  name.sub('krates-plugin-', '')
end