touch
In order to manage my ideas As a command line junkie I want to create store these ideas on virtual cards
Scenario: a single card is added in shell
- When I run `cardigan` interactively
- And I type "
touch today is the first day of the rest of your life" - And I type "
ls" - And I type "
exit" - Then the exit status should be 0
- And the stdout should contain:
text
--------------------------------------------------------- | index | name | --------------------------------------------------------- | 1 | today is the first day of the rest of your life | ---------------------------------------------------------
Scenario: a single card is added without shell
- When I run `cardigan touch do some amazing stuff with my life`
- And I run `cardigan ls`
- Then the exit status should be 0
- And the stdout should contain:
text
-------------------------------------------- | index | name | -------------------------------------------- | 1 | do some amazing stuff with my life | --------------------------------------------
Source: features/commands/touch.feature at commit b93b5958, Cardigan (MIT license).