Socket
Book a DemoInstallSign in
Socket

scriptoria

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scriptoria

scpt -t ./_docker/Dockerfile.template -d ./_docker/Dockerfile.data.js -o ./_docker/Dockerfile

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

scpt -t ./_docker/Dockerfile.template -d ./_docker/Dockerfile.data.js -o ./_docker/Dockerfile

Command

    scpt [options]

or

    scriptoria [options]

Options

  • t, template: the template in Handlebars syntax you want to compile from. This must be a valid path in the file system to the template file.

  • d, data: the the data you are going to pass to the template. It could be either the json string, the path to a javascript file that exports the data object, or the path to a json file containing the data

  • o, output: the destination file path. This must be a valid path in the file system to the template file.

Examples:

scpt -t ./_docker/Dockerfile.template -d ./_docker/Dockerfile.data.js -o ./_docker/Dockerfile
scpt -template ./_docker/Dockerfile.template -d ./_docker/Dockerfile.data.json -o ./_docker/Dockerfile
scpt -template ./_docker/Dockerfile.template -d "{\"expose\": 3000}" -o ./_docker/Dockerfile

FAQs

Package last updated on 10 Nov 2020

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