File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2424 upload,
2525 download,
2626 login,
27- `update -default-org`,
27+ `set -default-org`,
2828 # cmdDelete,
2929 build,
3030 record,
383383 name : " default-org" ,
384384 desc : " set a default organization for uploads" ,
385385 .}: Option [string ]
386- of `update -default-org`:
387- updateDefaultOrgName * {.
386+ of `set -default-org`:
387+ setDefaultOrgName * {.
388388 argument ,
389389 desc : " the name of an organization to be updated as default"
390390 .}: string
Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ proc runInitial*(conf: CodetracerConf) =
136136 downloadTraceCommand (conf.traceDownloadUrl)
137137 of StartupCommand .login:
138138 loginCommand (conf.loginDefaultOrg)
139- of StartupCommand .`update -default-org`:
140- updateDefaultOrg (conf.updateDefaultOrgName )
139+ of StartupCommand .`set -default-org`:
140+ setDefaultOrg (conf.setDefaultOrgName )
141141 # of StartupCommand.cmdDelete:
142142 # deleteTraceCommand(conf.traceId, conf.controlId)
143143 # # eventually enable?
Original file line number Diff line number Diff line change @@ -30,5 +30,5 @@ proc loginCommand*(defaultOrg: Option[string]) =
3030 args.add (defaultOrg.get)
3131 quit (runCtRemote (args))
3232
33- proc updateDefaultOrg * (newOrg: string ) =
33+ proc setDefaultOrg * (newOrg: string ) =
3434 quit (runCtRemote (@ [" set-default-org" , " -org" , newOrg]))
You can’t perform that action at this time.
0 commit comments