Client-Server communication
TDD = Task Tracker Device
App = Desktop Applikacion
- Server = TTD
- Client = App
- Strings MUST NOT have line breaks
- String parameter containing whitespace MUST have double-quotes
- Numeric parameters MUST be integers
- Parameters CAN be sent in arbitrary order
- Strings MUST use ASCII characters only
prints the response of "get protocol version": version info
- Sending:
info - Receiving: version info
- Sending:
list - Receiving: task list
- Sending:
edit --id <id> [--name "<new name>"] [--duration duration] - Receiving: task description
- Sending:
add --id <id> --name "<new name>" [--duration <duration>] - Receiving: task description
- Sending:
delete --id <id> - Receiving: task id