- Clone the repository
- Build the project with your prefered method
- (Optional) Add '{Project_Directory}\bin\Debug\net7.0' to you PATH or equivilent in other environments than Windows.
- Open a terminal at the path above (or any directory if the PATH has been added) and start using the Todo Console application
The default syntax is the following:
todo {command} {argument}
This shows you all your Todo items in a table.
Default command (this will run if you just enter todo
)
Shortcuts: l
Arguments: none
┌────┬────────┬──────┐
│ Id │ Todo │ Done │
├────┼────────┼──────┤
│ 1 │ Test │ No │
│ 2 │ Test2 │ No │
│ 3 │ Test3 │ Yes │
└────┴────────┴──────┘
This shows you the Todo item that you specified.
Shortcuts: s
Arguments: id
- Id of the Todo item.
Id: 1 Name: Test Done: Yes
Adds a new Todo item to your list.
Shortcuts: a
Arguments: description
- Description of the action needed to mark this as Done. Quotation marks is not needed for longer descriptions.
Test has been added to your list of todos.
Marks a Todo item as Done.
Shortcuts: d
Arguments: id
- Id of the Todo item.
Test is done, good job!
Removes a Todo item from your list.
Shortcuts: r
Arguments: id
- Id of the Todo item.
Test has been removed.
- Newtonsoft.Json
- Spectre Console