@screencloud/finalize-build-cli
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

@screencloud/finalize-build-cli

A simple cli utility to replace template variables in a prepared build.

CLI

Install

run npm i -g @screencloud/finalize-build-cli.

Usage

Usage: finalize-build [options]

Options:
  -V, --version           output the version number
  -e, --env-files <file>  A list of .env files to load (default: [])
  -i, --input <path>      Set the input path of the prepared build to be used (default: "builds/prepared-development")
  -o, --output <path>     output path for the finalized builds (default: "builds/development")
  -m, --metadata <path>   path to metadata json file (default: "builds/prepared-development-metadata.json")
  -f, --files <files>     A list of globs for files to be replaced, (defaults to all json,js,css,html files) (default: ["*.html","*.json","*.js","*.css","**/*.html","**/*.json","**/*.js","**/*.css"])
  -p, --path <path>       Set the current working directory (default: "C:\\git\\screencloud\\finalize-build-cli")
  -h, --help              output usage information

Metadata

The metadata json needs to be of the following format

export interface IMetadata {
    templateVars: string[];
}

Readme

Keywords

none

Package Sidebar

Install

npm i @screencloud/finalize-build-cli

Weekly Downloads

50

Version

1.2.4

License

none

Unpacked Size

13.6 kB

Total Files

13

Last publish

Collaborators

  • screencloud-bot
  • michael-martin