@@ -74,12 +74,9 @@ pub enum Crater {
74
74
75
75
#[ structopt( name = "define-ex" , about = "define an experiment" ) ]
76
76
DefineEx {
77
- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
78
- ex : Ex ,
79
- #[ structopt( name = "tc-1" ) ]
80
- tc1 : Toolchain ,
81
- #[ structopt( name = "tc-2" ) ]
82
- tc2 : Toolchain ,
77
+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
78
+ #[ structopt( name = "tc-1" ) ] tc1 : Toolchain ,
79
+ #[ structopt( name = "tc-2" ) ] tc2 : Toolchain ,
83
80
#[ structopt( name = "mode" , long = "mode" ,
84
81
default_value_raw = "ExMode::BuildAndTest.to_str()" ,
85
82
possible_values_raw = "&[
@@ -102,8 +99,7 @@ pub enum Crater {
102
99
103
100
#[ structopt( name = "prepare-ex" , about = "prepare shared and local data for experiment" ) ]
104
101
PrepareEx {
105
- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
106
- ex : Ex ,
102
+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
107
103
} ,
108
104
109
105
#[ structopt( name = "copy-ex" , about = "copy all data from one experiment to another" ) ]
@@ -114,53 +110,42 @@ pub enum Crater {
114
110
115
111
#[ structopt( name = "delete-ex" , about = "delete shared data for experiment" ) ]
116
112
DeleteEx {
117
- #[ structopt( long = "ex" , default_value = "default" ) ]
118
- ex : Ex ,
113
+ #[ structopt( long = "ex" , default_value = "default" ) ] ex : Ex ,
119
114
} ,
120
115
121
116
#[ structopt( name = "delete-all-target-dirs" ,
122
117
about = "delete the cargo target dirs for an experiment" ) ]
123
118
DeleteAllTargetDirs {
124
- #[ structopt( long = "ex" , default_value = "default" ) ]
125
- ex : Ex ,
119
+ #[ structopt( long = "ex" , default_value = "default" ) ] ex : Ex ,
126
120
} ,
127
121
128
122
#[ structopt( name = "delete-all-results" , about = "delete all results for an experiment" ) ]
129
123
DeleteAllResults {
130
- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
131
- ex : Ex ,
124
+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
132
125
} ,
133
126
134
127
#[ structopt( name = "delete-result" , about = "delete results for a crate from an experiment" ) ]
135
128
DeleteResult {
136
- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
137
- ex : Ex ,
138
- #[ structopt( name = "toolchain" , long = "toolchain" , short = "t" ) ]
139
- tc : Option < Toolchain > ,
140
- #[ structopt( name = "crate" ) ]
141
- krate : ExCrate ,
129
+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
130
+ #[ structopt( name = "toolchain" , long = "toolchain" , short = "t" ) ] tc : Option < Toolchain > ,
131
+ #[ structopt( name = "crate" ) ] krate : ExCrate ,
142
132
} ,
143
133
144
134
#[ structopt( name = "run" , about = "run an experiment, with all toolchains" ) ]
145
135
Run {
146
- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
147
- ex : Ex ,
136
+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
148
137
} ,
149
138
150
139
#[ structopt( name = "run-tc" , about = "run an experiment, with a single toolchain" ) ]
151
140
RunTc {
152
- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
153
- ex : Ex ,
154
- #[ structopt( name = "toolchain" ) ]
155
- tc : Toolchain ,
141
+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
142
+ #[ structopt( name = "toolchain" ) ] tc : Toolchain ,
156
143
} ,
157
144
158
145
#[ structopt( name = "gen-report" , about = "generate the experiment report" ) ]
159
146
GenReport {
160
- #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ]
161
- ex : Ex ,
162
- #[ structopt( name = "destination" ) ]
163
- dest : Dest ,
147
+ #[ structopt( name = "experiment" , long = "ex" , default_value = "default" ) ] ex : Ex ,
148
+ #[ structopt( name = "destination" ) ] dest : Dest ,
164
149
} ,
165
150
166
151
#[ structopt( name = "publish-report" , about = "publish the experiment report to S3" ) ]
0 commit comments