reconciling command formats

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones 2021-12-20 09:51:38 -07:00
parent 5ef138fe84
commit 1f99e427c5
No known key found for this signature in database
GPG Key ID: CFB3A382EB166F4C

View File

@ -63,14 +63,6 @@ _#inputSecret: {
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
_type: "SecretFile"
path: string
@ -84,6 +76,7 @@ _#inputSecret: {
command: {
name: string
args: [...string]
interactive: true | *false @dagger(notimplemented) // FIXME: https://github.com/dagger/dagger/issues/1268
}
}
}