autouml
Version:
Autogenerate UML diagrams using d2
20 lines (19 loc) • 980 B
TypeScript
import { autouml } from "../../typings/typings";
/**
* Valid command line arguments. This object details all flags and their uses, and the program overall usage statement
*/
declare const PARSE_ARGS_CONFIG: autouml.cli.IParseArgsConfig;
/**
* Generate the usage statement from a given config object.
* @param config A valid IParseArgsConfig object
* @returns A well formatted usage statement to print to console
*/
declare function generateUsageMessage(config: autouml.cli.IParseArgsConfig): string;
declare const DEFAULT_UML_OPTIONS: Readonly<autouml.cli.IOptions>;
/**
* Create the options object based on command line arguments. This is expected to only be called from direct invocation of this script.
* @returns an options object, or null if parsing failed or help was invoked
*/
declare function createOptionsFromCLI(): autouml.cli.IOptions | null;
export { PARSE_ARGS_CONFIG, generateUsageMessage, createOptionsFromCLI, DEFAULT_UML_OPTIONS, };