reconciling command formats
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
parent
5ef138fe84
commit
1f99e427c5
@ -63,14 +63,6 @@ _#inputSecret: {
|
|||||||
contents: #Secret
|
contents: #Secret
|
||||||
|
|
||||||
{
|
{
|
||||||
@dagger(notimplemented)
|
|
||||||
|
|
||||||
// Execute a command ON THE CLIENT MACHINE and read secret from standard output
|
|
||||||
command: [string, ...string] | string
|
|
||||||
// Execute command in an interactive terminal
|
|
||||||
// for example to prompt for a passphrase
|
|
||||||
interactive: true | *false
|
|
||||||
} | {
|
|
||||||
// Read secret from a file ON THE CLIENT MACHINE
|
// Read secret from a file ON THE CLIENT MACHINE
|
||||||
_type: "SecretFile"
|
_type: "SecretFile"
|
||||||
path: string
|
path: string
|
||||||
@ -84,6 +76,7 @@ _#inputSecret: {
|
|||||||
command: {
|
command: {
|
||||||
name: string
|
name: string
|
||||||
args: [...string]
|
args: [...string]
|
||||||
|
interactive: true | *false @dagger(notimplemented) // FIXME: https://github.com/dagger/dagger/issues/1268
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user