Questions
- What are the benefits of using a storage interface? If you were to use a different storage option, how easy would it be to swap out for the current flat file storage implementation?
- What’s the difference between an argument and a flag? In the following real-world example, what qualifies as an argument or a flag?
./audiofile-cli upload -filename music.mp3
- Suppose you’d like to create an additional test for when a user runs the
get
command without passing in any arguments or flags:./audiofile-cli get
What would an additional entry to the tests
array look like?