Add support for command-line flags with the flag package.