@jahands/dagger-helpers
Version:
dagger.io helpers for my own projects - not meant for public use
16 lines • 393 B
TypeScript
/**
* Create a new shell helper with the given shell type
*
* @param shellName - The name of the shell to use
*
* @example
*
* ```ts
* const sh = shell('bash')
*
* const con = dag.container()
* .withExec(sh('echo hello world!'))
* ```
*/
export declare function shell(shellName: 'sh' | 'bash' | 'zsh'): (input: string | string[]) => string[];
//# sourceMappingURL=shell.d.ts.map