U4: Remove Song via Command Line (without Command Line Arguments)¶
Description¶
Radio Host removes a song from the system using the CLI, but without command line arguments.
Actor(s)¶
Radio Host
Precondition(s)¶
Song is in System
Postcondition(s)¶
Song is not in System
Steps¶
1) Radio host enters the command:
dmr remove song
2) System prompts user for the song file.
3) User inputs the song filename/filepath.
4) System removes the song locally and in the remote repository.
Alternate¶
3) User inputs empty filename.
4) System displays "Cannot add file with no file name."
5) System exits gracefully.
3) User inputs nonexistent file.
4) System displays "Cannot find specified file."
5) System exits gracefully.