lavoretto

1.0.0-canary.1 • Public • Published

lavoretto

CI workflow npm version Snyk Vulnerabilities for npm package Conventional Commits

Reuse your subworkflows.

lavorétto (Italian for "work of little importance or of little effort") is a tiny tool useful when working with Google Cloud Platform Workflows.

Installation

npm install --save-dev lavoretto

Usage

Generate a single workflow:

lavoretto \
  -i path/to/your/workflow-file \
  --subworkflows path/to/your/subworkflows-directory

Generate all single workflows found in a (possibly nested) directory:

lavoretto \
  -i path/to/your/workflows-directory \
  --subworkflows path/to/your/subworkflows-directory

Options

Option Default Explanation
input undefined Path to the workflow file/directory to build.
outdir dist Directory where this tool will put the generated workflows.
header true Whether to include a comment at the beginning of each generated workflow. Use --no-header if you don't want it.
footer false Whether to include a comment at the bottom of each generated workflow.

See a few more examples in scripts.

Troubleshoot

This tool uses debug for its logs. You can set the environment variable DEBUG=lavoretto:* to troubleshoot this tool.

Useful links

npm run release:dry-run

Package Sidebar

Install

npm i lavoretto

Weekly Downloads

1

Version

1.0.0-canary.1

License

MIT

Unpacked Size

13.1 kB

Total Files

10

Last publish

Collaborators

  • jackdbd