A command-line task manager

The problem

Build a program that keeps a list of tasks and obeys commands from the input: add a task, mark it finished, list the tasks, show counts and remove one. Every mistake in a command is reported clearly and the program carries on.

Requirements

Technologies

Step by step

  1. Write the Task and Manager types and print a list of tasks.
  2. Add one method for each command and test it with a short input.
  3. Write the command loop and connect each command to its method.
  4. Add checks for empty lines, missing arguments and unknown task numbers.

Expected result

A reliable console program whose rules live in methods and whose main only reads and prints.

How it is evaluated

Ways to improve it