mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-06 09:24:55 +01:00
replace all $ARGUMENTS (#3276)
This commit is contained in:
@@ -1409,7 +1409,7 @@ export namespace SessionPrompt {
|
||||
const command = await Command.get(input.command)
|
||||
const agentName = command.agent ?? input.agent ?? "build"
|
||||
|
||||
let template = command.template.replace("$ARGUMENTS", input.arguments)
|
||||
let template = command.template.replaceAll("$ARGUMENTS", input.arguments)
|
||||
|
||||
const shell = ConfigMarkdown.shell(template)
|
||||
if (shell.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user