class Kontena::Cli::Grids::ShowCommand
Public Instance Methods
execute()
click to toggle source
# File lib/kontena/cli/grids/show_command.rb, line 12 def execute require_api_url grid = find_grid_by_name(name) exit_with_error("Grid not found") unless grid if self.token? puts grid['token'] else print_grid(grid) end end