// AUTO-GENERATED BY DAGGER_GLEAM - DO NOT EDIT import dagger/types as types import dagger/dsl/types as t import gleam/list pub fn terminal(id id: t.Terminal) -> t.Terminal { let field = types.Field(name: "loadTerminalFromID", args: [#("id", types.GDeferred(id.op))], subfields: []) t.Terminal(op: types.Pure([field])) } /// A unique identifier for this Terminal. pub fn id(parent: t.Terminal) -> t.Terminal { let field = types.Field(name: "id", args: [], subfields: []) let new_op = { use q <- types.bind(parent.op) types.Pure(list.append(q, [field])) } t.Terminal(op: new_op) } /// Forces evaluation of the pipeline in the engine. /// It doesn't run the default command if no exec has been set. pub fn sync(parent: t.Terminal) -> t.Terminal { let field = types.Field(name: "sync", args: [], subfields: []) let new_op = { use q <- types.bind(parent.op) types.Pure(list.append(q, [field])) } t.Terminal(op: new_op) }