all: Switch the --lang syntax to use argv instead
It was a bit awkward using `mgmt run lang --lang <input>` so instead, we now drop the --lang, and read the positional argv for the input. This also does the same for the --yaml frontend.
This commit is contained in:
@@ -373,7 +373,7 @@ func (obj *Instance) DeployLang(code string) error {
|
||||
"deploy", // mode
|
||||
"--no-git",
|
||||
"--seeds", obj.clientURL,
|
||||
"lang", "--lang", filename,
|
||||
"lang", filename,
|
||||
}
|
||||
obj.Logf("run: %s %s", cmdName, strings.Join(cmdArgs, " "))
|
||||
cmd := exec.Command(cmdName, cmdArgs...)
|
||||
|
||||
Reference in New Issue
Block a user