-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Refactor CommandLine arguments
- Loading branch information
Showing
2 changed files
with
88 additions
and
31 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
core/src/main/java/io/cucumber/core/options/CommandlineOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
package io.cucumber.core.options; | ||
|
||
public class CommandlineOptions { | ||
public static final String HELP = "--help"; | ||
public static final String HELP_SHORT = "-h"; | ||
|
||
public static final String VERSION = "--version"; | ||
public static final String VERSION_SHORT = "-v"; | ||
|
||
public static final String I18N = "--i18n"; | ||
|
||
public static final String THREADS = "--threads"; | ||
|
||
public static final String GLUE = "--glue"; | ||
public static final String GLUE_SHORT = "-g"; | ||
|
||
public static final String TAGS = "--tags"; | ||
public static final String TAGS_SHORT = "-t"; | ||
|
||
public static final String PUBLISH = "--publish"; | ||
|
||
public static final String PLUGIN = "--plugin"; | ||
public static final String PLUGIN_SHORT = "-p"; | ||
|
||
public static final String NO_DRY_RUN = "--no-dry-run"; | ||
|
||
public static final String DRY_RUN = "--dry-run"; | ||
public static final String DRY_RUN_SHORT = "-d"; | ||
|
||
public static final String NO_STRICT = "--no-strict"; | ||
|
||
public static final String STRICT = "--strict"; | ||
public static final String STRICT_SHORT = "-s"; | ||
|
||
public static final String NO_MONOCHROME = "--no-monochrome"; | ||
|
||
public static final String MONOCHROME = "--monochrome"; | ||
public static final String MONOCHROME_SHORT = "-m"; | ||
|
||
public static final String SNIPPETS = "--snippets"; | ||
|
||
public static final String NAME = "--name"; | ||
public static final String NAME_SHORT = "-n"; | ||
|
||
public static final String WIP = "--wip"; | ||
public static final String WIP_SHORT = "-w"; | ||
|
||
public static final String ORDER = "--order"; | ||
|
||
public static final String COUNT = "--count"; | ||
|
||
public static final String OBJECT_FACTORY = "--object-factory"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters