@smj0x/homebridge-shortcuts-buttons
Version:
Run any Apple Shortcut with just the tap of a button, and execute a custom unix command (or another shortcut!) after completion to handle its success/failure, using x-callback-url.
10 lines • 411 B
TypeScript
import { ExecOptions } from 'child_process';
import { ObjectEncodingOptions } from 'fs';
import { Logger } from 'homebridge';
export declare class HSBUtils {
private readonly log;
constructor(log: Logger);
execAsync(command: string, options?: ObjectEncodingOptions & ExecOptions): Promise<void>;
static isNonEmptyString: (value: unknown) => value is string;
}
//# sourceMappingURL=utils.d.ts.map