UNPKG

draaft

Version:

A CLI to pull content from https://pilot.pm content collaboration platform and feed your static site generator with markdown files

23 lines (22 loc) 729 B
/// <reference types="inquirer" /> import { Channel, WorkflowState } from "./types"; export declare function askToken(): Promise<unknown> & { ui: import("inquirer").ui.PromptUI; }; /** * Ask user which channel to pull content from * @param {string} channelsList - Channels list * @returns {*} */ export declare function askChannels(channelsList: Channel[]): Promise<{ channel: number[]; }>; /** * Ask user which workflow states should define a content as published ( draft = false ) * @param {string} statesList - WorkflowState list * @returns {*} */ export declare function askPublicationStates(statesList: WorkflowState[]): Promise<{ workflowState: number[]; }>; export declare const askDestDir: () => any;