Logo: Relish

  1. Sign in

Project: Cardigan 0.1.1

touch

In order to manage my ideas
As a command line junkie
I want to create store these ideas on virtual cards

Scenarios
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:
 ---------------------------------------------------------
| index | name                                            |
 ---------------------------------------------------------
| 1     | today is the first day of the rest of your life |
 ---------------------------------------------------------
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:
 --------------------------------------------
| index | name                               |
 --------------------------------------------
| 1     | do some amazing stuff with my life |
 --------------------------------------------

Last published about 7 years ago by markryall.