...

/

Increasing Flexibility with Environment Variables

Increasing Flexibility with Environment Variables

Learn how to make tools more flexible with environment variables.

With all the improvements we’ve made to our to-do tool so far, we’ve provided our users with several useful features. But the user still can’t select which file to save to the list of to-do items. We could use different approaches in this situation, such as adding another flag to allow the user to specify the file name, but another way to make our tool more flexible is by using environment variables.

Using environment variables

Using environment variables allows our users to just specify options once in their shell configuration, which ...