For now each command must print execution result to System.out::println
Implementation of each command:
create - 'Successfully created'
delete - 'Successfully deleted'
show - 'Show all notes'
All the commands must implement interface Command with single method execute()
Also for unknown command must exist class UnknownCommand that must print error message.
For now each command must print execution result to
System.out::println
Implementation of each command: create - 'Successfully created' delete - 'Successfully deleted' show - 'Show all notes' All the commands must implement interfaceCommand
with single methodexecute()
Also for unknown command must exist classUnknownCommand
that must print error message.