Contents

unfilter

In order to see relevant information As a command line junkie I want to filter the cards that are displayed

Scenario: remove filter from cards

  • When I run `cardigan` interactively
  • And I create the following cards:
    namerelease
    another interesting cardmargay
    a seriously interesting cardocelot
  • And I type "filter card['release'] == 'ocelot'"
  • And I type "unfilter"
  • And I type "ls"
  • And I type "exit"
  • Then the exit status should be 0
  • And the stdout should contain:
    text
     --------------------------------------
    | index | name                         |
     --------------------------------------
    | 1     | a seriously interesting card |
    | 2     | another interesting card     |
     --------------------------------------

Source: features/commands/unfilter.feature at commit b93b5958, Cardigan (MIT license).