Use a common module to initialize the command-line environment.