20 lines
418 B
TypeScript
20 lines
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;
|
|
})[];
|