Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

lavoretto

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lavoretto

A tiny tool useful when working with Google Cloud Platform Workflows

latest
Source
npmnpm
Version
1.0.0-canary.1
Version published
Weekly downloads
6
500%
Maintainers
1
Weekly downloads
 
Created
Source

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

OptionDefaultExplanation
inputundefinedPath to the workflow file/directory to build.
outdirdistDirectory where this tool will put the generated workflows.
headertrueWhether to include a comment at the beginning of each generated workflow. Use --no-header if you don't want it.
footerfalseWhether 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.

  • YAML Lint

npm run release:dry-run

Keywords

cli

FAQs

Package last updated on 28 Dec 2022

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