snyk
Version:
snyk library and cli utility
20 lines (19 loc) • 418 B
TypeScript
import { validInput } from './input-validator';
/**
* Prompts for $snyk apps create command
*/
export declare const createAppPrompts: ({
name: string;
type: string;
message: string;
validate: typeof validInput;
choices?: undefined;
initial?: undefined;
} | {
name: string;
type: string;
message: string;
choices: string[];
initial: string;
validate?: undefined;
})[];