File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,8 @@ def _main(arguments):
223223 parser .add_argument ('--srv-spec' , metavar = '"{ ... }"' , help = 'A JSON dictionary of service specific parameters.' )
224224 parser .add_argument ('--server-crt' , metavar = '"/path/to/server.crt"' ,
225225 help = 'DEFAULT: cert in server section of ~/.al/submit.cfg' )
226+ parser .add_argument ('-r' , '--submission-profile' , metavar = '"static"' ,
227+ help = 'Predefined profile to apply to this submission.' )
226228
227229 params = parser .parse_args (arguments )
228230
@@ -282,6 +284,9 @@ def _main(arguments):
282284 kw .setdefault ("params" , {})
283285 kw ["params" ]["service_spec" ] = json .loads (params .srv_spec )
284286
287+ if params .submission_profile :
288+ kw ['submission_profile' ] = params .submission_profile
289+
285290 auth = None
286291 api_auth = None
287292 if user and apikey :
You can’t perform that action at this time.
0 commit comments