mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-04-20 09:01:23 +00:00
11 lines
259 B
TypeScript
11 lines
259 B
TypeScript
|
export interface CommandSucceeeded {
|
||
|
readonly succeeded: true;
|
||
|
readonly output?: string;
|
||
|
}
|
||
|
|
||
|
export interface CommandFailed {
|
||
|
readonly succeeded: false;
|
||
|
readonly reason?: string;
|
||
|
}
|
||
|
|
||
|
export type CommandResult = CommandFailed | CommandSucceeeded;
|