TerminalGroup
API reference
Implements Node
id: ID!
A unique identifier for this TerminalGroup.
exec(args: [String!] = [],stdin: String = "",copy: [TerminalCopy!] = [],init: [String!] = []): Container!
Run the selected terminal target's command non-interactively, and return the container after execution. Any exit code is allowed.
args: [String!] = []Arguments to append to the terminal command. Example: ["-c", "go test ./..."]
stdin: String = ""Content to write to the command's standard input.
copy: [TerminalCopy!] = []Directories to copy into the container, in order.
init: [String!] = []Commands to run after copy, in order, with the terminal command and -c. Only their changes to the filesystem are kept.
list: [TerminalTarget!]!
Return the selected terminal targets and their details
run(copy: [TerminalCopy!] = [], init: [String!] = []): TerminalGroup!
Open the selected terminal target
copy: [TerminalCopy!] = []Directories to copy into the container, in order.
init: [String!] = []Commands to run after copy, in order, with the terminal command and -c. Only their changes to the filesystem are kept.