commit | b148ac9d9aefb18baddbf9e28ed33b1b8c6e96e6 | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Fri Nov 16 09:33:39 2012 +0900 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Sat Nov 17 12:40:42 2012 +0900 |
tree | 64564abdc213acb66c83f6782566caf51e194678 | |
parent | a67df63ef18f7bcd1398dc5c3622c01c3fcad15d [diff] |
Allow command options to be set from environment variables Extend the Command base class to allow options to be set from values in environment variables, if the user has not given the option on the command line and the environment variable is set. Derived classes of Command can override the implementation of the method _GetEnvironmentOptions to configure which of its options may be set from environment variables. Change-Id: I7c780bcf9644d6567893d9930984c054bce7351e