npm

Need private packages and team management tools?Check out npm Orgs. »

@screencloud/finalize-build-cli

1.2.2 • 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[];
}

Keywords

none

install

npm i @screencloud/finalize-build-cli

Downloadsweekly downloads

70

version

1.2.2

license

none

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability