@dappnode/dappnodesdk
Version:
dappnodesdk is a tool to make the creation of new dappnode packages as simple as possible. It helps to initialize and publish in ethereum blockchain
15 lines (14 loc) • 528 B
TypeScript
import { Manifest } from "@dappnode/types";
import { CliGlobalOptions } from "../../types.js";
export type MultiVariantAnswers = {
variantsDir?: string;
variants?: string[];
envName?: string;
};
export type DefaultAnswers = Pick<Manifest, "name" | "version" | "description" | "avatar" | "type" | "author" | "license">;
export type UserAnswers = DefaultAnswers & MultiVariantAnswers;
export interface InitCommandOptions extends CliGlobalOptions {
yes?: boolean;
force?: boolean;
use_variants?: boolean;
}