File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
environments/core/box/src/environment
migration/cli/migrate-node/docs/cli Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,13 @@ pub enum EnvironmentConfigError {
19
19
#[ clap( help_expected = true ) ]
20
20
pub struct Config {
21
21
/// The rest api url of the box environment.
22
+ #[ clap( long) ]
22
23
pub rest_api_url : String ,
23
24
/// The db dir of the box environment.
25
+ #[ clap( long) ]
24
26
pub db_dir : PathBuf ,
25
27
/// Whether to isolate the box environment by snapshotting the movement runner and where to store the snapshot.
28
+ #[ clap( long) ]
26
29
pub snapshot_dir : Option < PathBuf > ,
27
30
}
28
31
Original file line number Diff line number Diff line change @@ -140,16 +140,14 @@ Options:
140
140
** Selection (2/4):** ` environment-box `
141
141
The config for the [ BoxEnvironment]
142
142
143
- Usage: --environment-box.* <REST_API_URL> <DB_DIR> [ SNAPSHOT_DIR]
144
-
145
- Arguments:
146
- <REST_API_URL> The rest api url of the box environment
147
- <DB_DIR> The db dir of the box environment
148
- [ SNAPSHOT_DIR] Whether to isolate the box environment by snapshotting the movement runner and where to store the
149
- snapshot
143
+ Usage: --environment-box.* [ OPTIONS] --rest-api-url <REST_API_URL> --db-dir <DB_DIR>
150
144
151
145
Options:
152
- -h, --help Print help (see more with '--help')
146
+ --rest-api-url <REST_API_URL> The rest api url of the box environment
147
+ --db-dir <DB_DIR> The db dir of the box environment
148
+ --snapshot-dir <SNAPSHOT_DIR> Whether to isolate the box environment by snapshotting the movement runner and
149
+ where to store the snapshot
150
+ -h, --help Print help (see more with '--help')
153
151
154
152
** Selection (3/4):** ` environment-provisioner `
155
153
The config for the [ ProvisionerEnvironment]
You can’t perform that action at this time.
0 commit comments