Repository navigation
Expand file tree
/
Copy pathcommand_args.mbt
More file actions
127 lines (125 loc) · 2.71 KB
/
Copy pathcommand_args.mbt
File metadata and controls
127 lines (125 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
///|
/// The options a subcommand accepts. A single flat struct keeps the parser
/// small; each command reads only the fields it documents.
///|
pub struct CommandArgs {
services : Array[String]
mut detach : Bool
mut no_deps : Bool
mut no_build : Bool
mut build : Bool
mut force_recreate : Bool
mut no_recreate : Bool
mut no_start : Bool
mut volumes : Bool
mut remove_orphans : Bool
mut rmi : String?
mut timeout : Int32?
mut follow : Bool
mut tail : String?
mut since : String?
mut until : String?
mut timestamps : Bool
mut names : Bool
mut no_color : Bool
mut no_log_prefix : Bool
mut quiet : Bool
mut format : String?
mut short : Bool
mut signal : String?
mut all : Bool
mut index : Int32
mut protocol : String
mut private_port : Int32
mut no_cache : Bool
mut pull : String?
build_arg : Array[String]
mut quiet_pull : Bool
mut wait : Bool
mut wait_timeout : Int32?
mut name : String?
mut entrypoint : String?
env : Array[String]
mut user : String?
mut workdir : String?
mut rm : Bool
publish : Array[String]
mut service_ports : Bool
volume : Array[String]
mut no_tty : Bool
mut privileged : Bool
mut force_local : Bool
mut services_flag : Bool
mut no_normalize : Bool
pull_always : Bool
mut abort_on_container_exit : Bool
mut abort_on_container_failure : Bool
mut exit_code_from : String?
no_attach : Array[String]
mut scale : String?
mut renew_anon_volumes : Bool
mut no_hosts : Bool
cnt_command : Array[String]
}
///|
pub fn new_command_args() -> CommandArgs {
{
services: [],
detach: false,
no_deps: false,
no_build: false,
build: false,
force_recreate: false,
no_recreate: false,
no_start: false,
volumes: false,
remove_orphans: false,
rmi: None,
timeout: None,
follow: false,
tail: None,
since: None,
until: None,
timestamps: false,
names: false,
no_color: false,
no_log_prefix: false,
quiet: false,
format: None,
short: false,
signal: None,
all: false,
index: 1,
protocol: "tcp",
private_port: 0,
no_cache: false,
pull: None,
build_arg: [],
quiet_pull: false,
wait: false,
wait_timeout: None,
name: None,
entrypoint: None,
env: [],
user: None,
workdir: None,
rm: false,
publish: [],
service_ports: false,
volume: [],
no_tty: false,
privileged: false,
force_local: false,
services_flag: false,
no_normalize: false,
pull_always: false,
abort_on_container_exit: false,
abort_on_container_failure: false,
exit_code_from: None,
no_attach: [],
scale: None,
renew_anon_volumes: false,
no_hosts: false,
cnt_command: [],
}
}