Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hbsutil

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hbsutil

Small command line utility for build-time processing of handlebars templates

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hbsutil

hbsutil is a command line wrapper around handlebars

Usage

  Usage: hbsutil [options] <template ...>

  Small command line utility for build-time processing of handlebars templates

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -f, --file <json_file>     Input file to read the data from. Can be specified multiple times, and files will be merged together in the order they appear on the command line, with later files overwriting duplicate fields of earlier files.
    -e, --env [fieldName]      Add environment variables under the given fieldName. Defaults to 'env' if no fieldName given
    -o, --opt <nameValuePair>  Add an extra value to the @root object, as a string. Specify as "name=value"
    -d, --dir <directory>      Directory to write the output file to. By default, will write to same directory as the input template
    -s, --strip [suffix]       If an input template file ends in the given suffix, the output file will have that suffix stripped off. For example, a suffix of 'hbs' would turn file.html.hbs into 'file.html'. Multiple entries can be specified, separated by commas. If this parameter is specified with no argument, will default to stripping off '.hbs'
    --force                    Normally if we calculate that an output file will overwrite the input file that generated it, we refuse to continue processing since this is almost certainly not what the user meant. Passing --force overrides this.
    -v, --verbose              Print extra information about what we're doing
    -q, --quiet                Only print errors. -v will override this if both are specified

License

GNU GPL-3 - see LICENSE.md file for details.

Author

Patrick Lavigne (https://github.com/PMLavigne)

Keywords

FAQs

Package last updated on 23 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc