Sha256: db1e6901ba2b09f5a57f8f75f2e09142fc4c17dd8a32b286219b4565d232adf7

Contents?: true

Size: 625 Bytes

Versions: 6

Compression:

Stored size: 625 Bytes

Contents

module Tr3llo
  module Command
    module List
      class InvalidCommand
        def execute
          interface.print_frame do
            interface.puts("Invalid command".red)
            interface.puts(menu_text)
          end
        end

        private

        def menu_text
          %q{
    Available `list` commands

    list list                       - Show all lists
    list cards <list_id>            - Show all cards in list
          }
        end

        def container
          $container
        end

        def interface
          container.resolve(:interface)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
3llo-0.1.12 lib/3llo/commands/list/invalid.rb
3llo-0.1.11 lib/3llo/commands/list/invalid.rb
3llo-0.1.10 lib/3llo/commands/list/invalid.rb
3llo-0.1.9 lib/3llo/commands/list/invalid.rb
3llo-0.1.9.beta lib/3llo/commands/list/invalid.rb
3llo-0.1.8 lib/3llo/commands/list/invalid.rb