TERMINAL: Add --ram-override flag to the run command (#1055)

* Add --ram-override flag to run command
* Update help command
* Fix whitespace
* Update run usage message
* Update autocomplete for run command
* Format
This commit is contained in:
LJ
2024-02-15 06:51:37 -07:00
committed by GitHub
parent 733f2ccb5b
commit ddb10f833c
4 changed files with 68 additions and 55 deletions
@@ -312,7 +312,7 @@ export async function getTabCompletionPossibilities(terminalText: string, baseDi
}
if (!loadedModule || !loadedModule.autocomplete) return; // Doesn't have an autocomplete function.
const runArgs = { "--tail": Boolean, "-t": Number };
const runArgs = { "--tail": Boolean, "-t": Number, "--ram-override": Number };
const flags = libarg(runArgs, {
permissive: true,
argv: command.slice(2),