@@ -8,25 +8,31 @@ import com.beust.jcommander.Parameter
8
8
class Options {
9
9
// Sourcerer account username.
10
10
@Parameter(names = arrayOf(" -u" , " --username" ),
11
- description = " Sourcerer account username" ,
12
- order = 0 )
11
+ description = " Sourcerer account username" ,
12
+ order = 0 )
13
13
var username: String = " "
14
14
15
15
// Sourcerer account password.
16
16
@Parameter(names = arrayOf(" -p" , " --password" ),
17
- description = " Sourcerer account password" ,
18
- order = 1 )
17
+ description = " Sourcerer account password" ,
18
+ order = 1 )
19
19
var password: String = " "
20
20
21
21
// List options and commands.
22
22
@Parameter(names = arrayOf(" -h" , " --help" ),
23
- description = " List options and commands" ,
24
- order = 2 )
23
+ description = " List options and commands" ,
24
+ order = 2 )
25
25
var help: Boolean = false
26
26
27
27
// Cleanup configs and run setup again.
28
28
@Parameter(names = arrayOf(" --setup" ),
29
- description = " Cleanup configs and run setup again" ,
30
- order = 3 )
29
+ description = " Cleanup configs and run setup again" ,
30
+ order = 3 )
31
31
var setup: Boolean = false
32
+
33
+ // Uninstall. Runs by install script, added to display info in help.
34
+ @Parameter(names = arrayOf(" --uninstall" ),
35
+ description = " Remove Sourcerer App" ,
36
+ order = 4 )
37
+ var uninstall: Boolean = false
32
38
}
0 commit comments