@@ -57,7 +57,13 @@ def launch_local(
5757 IOC project folder.
5858 """
5959 DevCommands ().launch_local (
60- ioc_instance , generic_ioc , execute , target , tag , args , ioc_name
60+ ioc_instance = ioc_instance ,
61+ generic_ioc = generic_ioc ,
62+ execute = execute ,
63+ target = target ,
64+ tag = tag ,
65+ args = args ,
66+ ioc_name = ioc_name ,
6167 )
6268
6369
@@ -93,7 +99,15 @@ def launch(
9399 instances. You may find the devcontainer a more convenient way to
94100 do this.
95101 """
96- DevCommands ().launch (ioc_instance , execute , target , image , tag , args , ioc_name )
102+ DevCommands ().launch (
103+ ioc_instance = ioc_instance ,
104+ execute = execute ,
105+ target = target ,
106+ image = image ,
107+ tag = tag ,
108+ args = args ,
109+ ioc_name = ioc_name ,
110+ )
97111
98112
99113@dev .command ()
@@ -110,7 +124,7 @@ def debug_last(
110124 Useful for debugging failed builds - if the last build failed it will
111125 start the container after the most recent successful build step.
112126 """
113- DevCommands ().debug_last (generic_ioc , mount_repos )
127+ DevCommands ().debug_last (generic_ioc = generic_ioc , mount_repos = mount_repos )
114128
115129
116130@dev .command ()
@@ -133,7 +147,7 @@ def versions(
133147 or the local project folder (defaults to .) e.g.
134148 ec dev versions ../ioc-template
135149 """
136- DevCommands ().versions (generic_ioc , arch , image )
150+ DevCommands ().versions (generic_ioc = generic_ioc , arch = arch , image = image )
137151
138152
139153@dev .command ()
@@ -146,24 +160,24 @@ def stop(
146160 """
147161 Stop a running local IOC container
148162 """
149- DevCommands ().stop (ioc_name )
163+ DevCommands ().stop (ioc_name = ioc_name )
150164
151165
152166@dev .command ()
153167def exec (
154168 ctx : typer .Context ,
155- ioc_name : str = typer .Option (
156- IOC_NAME , help = "container name override. Use to run multiple instances"
157- ),
158169 command : str = typer .Argument (
159170 "bash" , help = "command to execute inside the container must be 'single quoted'"
160171 ),
172+ ioc_name : str = typer .Option (
173+ IOC_NAME , help = "container name override. Use to run multiple instances"
174+ ),
161175 args : str = typer .Option ("" , help = "Additional args for exec, 'must be quoted'" ),
162176):
163177 """
164178 Execute a command inside a running local IOC container
165179 """
166- DevCommands ().exec (ioc_name , command , args )
180+ DevCommands ().exec (ioc_name = ioc_name , command = command , args = args )
167181
168182
169183@dev .command ()
@@ -180,7 +194,7 @@ def wait_pv(
180194 """
181195 Execute a command inside a running local IOC container
182196 """
183- DevCommands ().wait_pv (pv_name , ioc_name , attempts )
197+ DevCommands ().wait_pv (pv_name = pv_name , ioc_name = ioc_name , attempts = attempts )
184198
185199
186200@dev .command ()
@@ -206,13 +220,13 @@ def build(
206220 Builds both developer and runtime targets.
207221 """
208222 DevCommands ().build (
209- generic_ioc ,
210- tag ,
211- arch ,
212- platform ,
213- cache ,
214- cache_from ,
215- cache_to ,
216- push ,
217- rebuild ,
223+ generic_ioc = generic_ioc ,
224+ tag = tag ,
225+ arch = arch ,
226+ platform = platform ,
227+ cache = cache ,
228+ cache_from = cache_from ,
229+ cache_to = cache_to ,
230+ push = push ,
231+ rebuild = rebuild ,
218232 )
0 commit comments