Skip to content

U1: Add Song via Command Line (with Command Line Arguments)

Description

Radio Host adds a song to the system using the CLI and command line arguments.

Actor(s)

Radio Host

Precondition(s)

Song is not in System

Postcondition(s)

Song is in System

Steps

1) Radio host enters the command:

dmr add song <songFile> --name=<songName> --artist=<songArtist> --year=<songYear>

2) System records the song locally and in remote repository, and also tracks the date added.

Alternate

2) System cannot connect to remote repository.

3) System displays Cannot connect to remote repository.


2) System cannot find file specified.

3) System displays Cannot find the specified audio file.

Features

F1: Add Song via Command Line

F5: Track Date Added