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

@choiceform/extension-cli

Package Overview
Dependencies
Maintainers
8
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@choiceform/extension-cli - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

7

bin/index.js

@@ -49,2 +49,9 @@ #!/usr/bin/env node

program
.command('clean')
.description('Clean up the local template cache.')
.action(() => {
core.cleanCache();
});
program.arguments('<command>').action((cmd) => {

@@ -51,0 +58,0 @@ program.outputHelp();

4

lib/core.js

@@ -52,2 +52,6 @@ import { execSync } from 'node:child_process';

export async function cleanCache() {
await fs.rmSync(cacheDir, { force: true, recursive: true });
}
export async function install(name) {

@@ -54,0 +58,0 @@ await execSync('npm install --loglevel=error', {

2

package.json
{
"$schema": "https://json.schemastore.org/package",
"name": "@choiceform/extension-cli",
"version": "0.1.0",
"version": "0.2.0",
"description": "Command Line Interface for Choiceform Extension.",

@@ -6,0 +6,0 @@ "keywords": [

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