stdlib: dagger.#Input
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
parent
49277af680
commit
8383efdba6
8
.dagger/env/test-core/plan/test-core.cue
vendored
8
.dagger/env/test-core/plan/test-core.cue
vendored
@ -4,8 +4,12 @@ import (
|
||||
"dagger.io/dagger"
|
||||
)
|
||||
|
||||
name: string | *"world" @dagger(input)
|
||||
name: dagger.#Input & {
|
||||
string | *"world"
|
||||
}
|
||||
|
||||
message: "Hello, \(name)!" @dagger(output)
|
||||
|
||||
dir: dagger.#Artifact @dagger(input)
|
||||
dir: dagger.#Input & dagger.#Artifact
|
||||
|
||||
samedir: dir @dagger(output)
|
||||
|
@ -19,3 +19,9 @@ import (
|
||||
|
||||
id: string
|
||||
}
|
||||
|
||||
#Input: {
|
||||
@dagger(input)
|
||||
_
|
||||
...
|
||||
}
|
||||
|
Reference in New Issue
Block a user