modpack-lock
    Preparing search index...

    Interface InitOptions

    Contains options for the initialization of the modpack files.

    interface InitOptions {
        dryRun?: boolean;
        quiet?: boolean;
        silent?: boolean;
        gitignore?: boolean;
        readme?: boolean;
        licenseFile?: boolean;
        path?: string;
        folder?: string;
        noninteractive?: boolean;
        addLicense?: boolean;
        addGitignore?: boolean;
        addReadme?: boolean;
        name?: string;
        version?: string;
        id?: string;
        description?: string;
        author?: string;
        projectUrl?: string;
        sourceUrl?: string;
        license?: string;
        modloader?: string;
        targetModloaderVersion?: string;
        targetMinecraftVersion?: string;
        _init?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    dryRun?: boolean

    Whether to run in dry-run mode (no files written)

    quiet?: boolean

    Whether to quiet the console output

    silent?: boolean

    Whether to silence the console output

    gitignore?: boolean

    Whether to generate a .gitignore file

    readme?: boolean

    Whether to generate README.md files

    licenseFile?: boolean

    Whether to generate a license file

    path?: string

    The modpack root directory

    folder?: string

    The modpack root directory

    noninteractive?: boolean

    Whether to initialize in non-interactive mode

    addLicense?: boolean

    Whether to add the license file to the modpack

    addGitignore?: boolean

    Whether to generate .gitignore rules

    addReadme?: boolean

    Whether to generate README.md files

    name?: string

    The option to set the modpack name

    version?: string

    The option to set the version

    id?: string

    The option to set the slug/ID

    description?: string

    The option to set the description

    author?: string

    The option to set the author

    projectUrl?: string

    The option to set the project URL

    sourceUrl?: string

    The option to set the source code URL

    license?: string

    The option to set the license

    modloader?: string

    The option to set the modloader

    targetModloaderVersion?: string

    The option to set the target modloader version

    targetMinecraftVersion?: string

    The option to set the target Minecraft version

    _init?: boolean

    Internal boolean added to indicate options come from the init command.