@grnsft/if
Version:
Impact Framework
21 lines (20 loc) • 799 B
TypeScript
import { EnvironmentOptions } from '../types/if-env';
/**
* Gets the folder path of the manifest file, dependencies from manifest file and install argument from the given arguments.
*/
export declare const getOptionsFromArgs: (commandArgs: {
manifest: string;
install: boolean | undefined;
}) => Promise<{
folderPath: string;
dependencies: import("../types/npm").PathWithVersion;
install: boolean | undefined;
}>;
/**
* Creates folder if not exists, installs dependencies if required, update depenedencies.
*/
export declare const initializeAndInstallLibs: (options: EnvironmentOptions) => Promise<void>;
/**
* Adds a manifest template to the folder where the if-env CLI command runs.
*/
export declare const addTemplateManifest: (destinationDir: string) => Promise<void>;