...

/

Updating the Phone Book Application I

Updating the Phone Book Application I

Let’s follow step-by-step instructions on using environment variables to enhance our phone book application.

The functionality that is added to this new version of the phone book utility is the following:

  • The CSV file path can be optionally given as an environment variable named PHONEBOOK.

  • The list command sorts the output based on the surname field.

Although we could have given the path of the CSV file as a command-line argument instead of the value of an environment variable, it would have ...