|
10 | 10 | import net.mtrop.doomy.commands.ConfigCommand; |
11 | 11 | import net.mtrop.doomy.commands.DefaultCommand; |
12 | 12 | import net.mtrop.doomy.commands.EngineCommand; |
| 13 | +import net.mtrop.doomy.commands.EnvironmentCommand; |
13 | 14 | import net.mtrop.doomy.commands.HelpCommand; |
14 | 15 | import net.mtrop.doomy.commands.IWADCommand; |
15 | 16 | import net.mtrop.doomy.commands.IdGamesCommand; |
@@ -97,6 +98,7 @@ public interface DoomyCommand |
97 | 98 | static final String VERSION = "version"; |
98 | 99 | static final String HELP = "help"; |
99 | 100 | static final String CONFIG = "config"; |
| 101 | + static final String ENV = "env"; |
100 | 102 | static final String ENGINE = "engine"; |
101 | 103 | static final String TEMPLATE = "template"; |
102 | 104 | static final String IWAD = "iwad"; |
@@ -200,6 +202,8 @@ else if (matchArgument(args, VERSION)) |
200 | 202 | return new VersionCommand(); |
201 | 203 | else if (matchArgument(args, HELP)) |
202 | 204 | return new HelpCommand(); |
| 205 | + else if (matchArgument(args, ENV)) |
| 206 | + return new EnvironmentCommand(); |
203 | 207 | else if (matchArgument(args, CONFIG)) |
204 | 208 | { |
205 | 209 | if (matchArgument(args, LIST)) |
|
0 commit comments