VerifyInput
Defined in: plugins/holocron-plugin-1password/src/auth.ts:21
Inputs for checking that the op binary is installed.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”binary?
Section titled “binary?”
optionalbinary?:string
Defined in: plugins/holocron-plugin-1password/src/auth.ts:25
Path to the op binary. Defaults to “op”.
spawn?
Section titled “spawn?”
optionalspawn?: {(command):SpawnSyncReturns<NonSharedBuffer>; (command,options):SpawnSyncReturns<string>; (command,options):SpawnSyncReturns<NonSharedBuffer>; (command,options?):SpawnSyncReturns<string|NonSharedBuffer>; (command,args):SpawnSyncReturns<NonSharedBuffer>; (command,args,options):SpawnSyncReturns<string>; (command,args,options):SpawnSyncReturns<NonSharedBuffer>; (command,args?,options?):SpawnSyncReturns<string|NonSharedBuffer>; }
Defined in: plugins/holocron-plugin-1password/src/auth.ts:23
Override the spawn function in tests.
Call Signature
Section titled “Call Signature”(
command):SpawnSyncReturns<NonSharedBuffer>
The child_process.spawnSync() method is generally identical to spawn with the exception that the function will not return
until the child process has fully closed. When a timeout has been encountered
and killSignal is sent, the method won’t return until the process has
completely exited. If the process intercepts and handles the SIGTERM signal
and doesn’t exit, the parent process will wait until the child process has
exited.
If the shell option is enabled, do not pass unsanitized user input to this
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.
Parameters
Section titled “Parameters”command
Section titled “command”string
The command to run.
Returns
Section titled “Returns”SpawnSyncReturns<NonSharedBuffer>
v0.11.12
Call Signature
Section titled “Call Signature”(
command,options):SpawnSyncReturns<string>
The child_process.spawnSync() method is generally identical to spawn with the exception that the function will not return
until the child process has fully closed. When a timeout has been encountered
and killSignal is sent, the method won’t return until the process has
completely exited. If the process intercepts and handles the SIGTERM signal
and doesn’t exit, the parent process will wait until the child process has
exited.
If the shell option is enabled, do not pass unsanitized user input to this
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.
Parameters
Section titled “Parameters”command
Section titled “command”string
The command to run.
options
Section titled “options”SpawnSyncOptionsWithStringEncoding
Returns
Section titled “Returns”SpawnSyncReturns<string>
v0.11.12
Call Signature
Section titled “Call Signature”(
command,options):SpawnSyncReturns<NonSharedBuffer>
The child_process.spawnSync() method is generally identical to spawn with the exception that the function will not return
until the child process has fully closed. When a timeout has been encountered
and killSignal is sent, the method won’t return until the process has
completely exited. If the process intercepts and handles the SIGTERM signal
and doesn’t exit, the parent process will wait until the child process has
exited.
If the shell option is enabled, do not pass unsanitized user input to this
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.
Parameters
Section titled “Parameters”command
Section titled “command”string
The command to run.
options
Section titled “options”SpawnSyncOptionsWithBufferEncoding
Returns
Section titled “Returns”SpawnSyncReturns<NonSharedBuffer>
v0.11.12
Call Signature
Section titled “Call Signature”(
command,options?):SpawnSyncReturns<string|NonSharedBuffer>
The child_process.spawnSync() method is generally identical to spawn with the exception that the function will not return
until the child process has fully closed. When a timeout has been encountered
and killSignal is sent, the method won’t return until the process has
completely exited. If the process intercepts and handles the SIGTERM signal
and doesn’t exit, the parent process will wait until the child process has
exited.
If the shell option is enabled, do not pass unsanitized user input to this
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.
Parameters
Section titled “Parameters”command
Section titled “command”string
The command to run.
options?
Section titled “options?”SpawnSyncOptions
Returns
Section titled “Returns”SpawnSyncReturns<string | NonSharedBuffer>
v0.11.12
Call Signature
Section titled “Call Signature”(
command,args):SpawnSyncReturns<NonSharedBuffer>
The child_process.spawnSync() method is generally identical to spawn with the exception that the function will not return
until the child process has fully closed. When a timeout has been encountered
and killSignal is sent, the method won’t return until the process has
completely exited. If the process intercepts and handles the SIGTERM signal
and doesn’t exit, the parent process will wait until the child process has
exited.
If the shell option is enabled, do not pass unsanitized user input to this
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.
Parameters
Section titled “Parameters”command
Section titled “command”string
The command to run.
readonly string[]
List of string arguments.
Returns
Section titled “Returns”SpawnSyncReturns<NonSharedBuffer>
v0.11.12
Call Signature
Section titled “Call Signature”(
command,args,options):SpawnSyncReturns<string>
The child_process.spawnSync() method is generally identical to spawn with the exception that the function will not return
until the child process has fully closed. When a timeout has been encountered
and killSignal is sent, the method won’t return until the process has
completely exited. If the process intercepts and handles the SIGTERM signal
and doesn’t exit, the parent process will wait until the child process has
exited.
If the shell option is enabled, do not pass unsanitized user input to this
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.
Parameters
Section titled “Parameters”command
Section titled “command”string
The command to run.
readonly string[]
List of string arguments.
options
Section titled “options”SpawnSyncOptionsWithStringEncoding
Returns
Section titled “Returns”SpawnSyncReturns<string>
v0.11.12
Call Signature
Section titled “Call Signature”(
command,args,options):SpawnSyncReturns<NonSharedBuffer>
The child_process.spawnSync() method is generally identical to spawn with the exception that the function will not return
until the child process has fully closed. When a timeout has been encountered
and killSignal is sent, the method won’t return until the process has
completely exited. If the process intercepts and handles the SIGTERM signal
and doesn’t exit, the parent process will wait until the child process has
exited.
If the shell option is enabled, do not pass unsanitized user input to this
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.
Parameters
Section titled “Parameters”command
Section titled “command”string
The command to run.
readonly string[]
List of string arguments.
options
Section titled “options”SpawnSyncOptionsWithBufferEncoding
Returns
Section titled “Returns”SpawnSyncReturns<NonSharedBuffer>
v0.11.12
Call Signature
Section titled “Call Signature”(
command,args?,options?):SpawnSyncReturns<string|NonSharedBuffer>
The child_process.spawnSync() method is generally identical to spawn with the exception that the function will not return
until the child process has fully closed. When a timeout has been encountered
and killSignal is sent, the method won’t return until the process has
completely exited. If the process intercepts and handles the SIGTERM signal
and doesn’t exit, the parent process will wait until the child process has
exited.
If the shell option is enabled, do not pass unsanitized user input to this
function. Any input containing shell metacharacters may be used to trigger
arbitrary command execution.
Parameters
Section titled “Parameters”command
Section titled “command”string
The command to run.
readonly string[]
List of string arguments.
options?
Section titled “options?”SpawnSyncOptions
Returns
Section titled “Returns”SpawnSyncReturns<string | NonSharedBuffer>
v0.11.12