New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@workleap/foundry

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workleap/foundry

Foundry-CLI generator module

  • 0.5.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-76.92%
Maintainers
2
Weekly downloads
 
Created
Source

@workleap/foundry

This project is a non-interactive command-line tool that allows users to quickly create customized copies of a template stored in a Git repository. By specifying the desired values for text tokens within the template, users can easily generate new files that incorporate their own content and configurations. The tool streamlines the process of creating new projects based on an existing template, saving time and effort while ensuring consistency and accuracy.

See @workleap/foundry --help:

Usage: @workleap/foundry [options] [command]

Foundry-CLI generator module

Options:
  -v, --version                        output the version number
  -h, --help                           display help for command

Commands:
  generate-host-application [options]  use the host-application template
  generate-remote-module [options]     use the remote-module template
  generate-static-module [options]     use the static-module template
  generate-web-application [options]   use the web-application template
  help [command]                       display help for command

Commands

generate-host-application

Use the host-application template as a base to customize with these options:

optiondescriptionrequired
--out-dir where to create the template
--package-scope package scope
-h, --helpdisplay help for command

generate-remote-module

Use the remote-module template as a base to customize with these options:

optiondescriptionrequired
--out-dir where to create the template
--host-scope host scope
--package-name package name
-h, --helpdisplay help for command

generate-static-module

Use the static-module template as a base to customize with these options:

optiondescriptionrequired
--out-dir where to create the template
--host-scope host scope
--package-name package name
-h, --helpdisplay help for command

generate-web-application

Use the web-application template as a base to customize with these options:

optiondescriptionrequired
--out-dir where to create the template
--package-name package name
--provider build provider (choices: "github", "azure", "none")
--project-name project name
-h, --helpdisplay help for command

Develop

During development, we are using pnpm, this is the recommended tooling.

To test locally your development version, without the need to rebuild and install it continually, use this command:

pnpm dev

Then you can call the CLI as a global command from foundry.

Then to remove the link:

pnpm unlink

FAQs

Package last updated on 13 Jul 2023

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