Socket
Socket
Sign inDemoInstall

dex8-cli

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dex8-cli - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

bin/task_templates/basic/.editorconfig

2

bin/del.js

@@ -9,3 +9,3 @@ const path = require('path');

const questions = [
{ type: 'confirm', name: 'tf', message: 'Are you sure to delete the Dex8 Task?', default: false }
{ type: 'confirm', name: 'tf', message: 'Are you sure you want to delete the DEX8 Task?', default: false }
];

@@ -12,0 +12,0 @@

const path = require('path');
const fse = require('fs-extra');
const inquirer = require('inquirer');

@@ -7,6 +8,12 @@

const questions = [
{ type: 'list', name: 'template', message: 'Please select a DEX8 Task template', choices: ['basic', 'puppeteer'], default: false }
];
try {
const answers = await inquirer.prompt(questions);
// copy task_template folder taskTitle folder
await fse.ensureDir(taskTitle);
const sourceDir = path.join(__dirname, './task_templates/t1');
const sourceDir = path.join(__dirname, 'task_templates', answers.template);
const destDir = path.join(process.cwd(), taskTitle);

@@ -13,0 +20,0 @@ await fse.copy(sourceDir, destDir);

@@ -60,3 +60,3 @@ /**

/**** 6) Fetch input library ****/
/**** 6) Fetch library ****/
let library;

@@ -63,0 +63,0 @@ if (!!library_selected) {

{
"name": "dex8-cli",
"version": "1.1.0",
"version": "1.1.1",
"title": "DEX8 CLI",

@@ -5,0 +5,0 @@ "description": "Dex8 CLI is a command line interface which helps developers to create and run dex8.com tasks (automated serverless scripts).",

@@ -101,3 +101,3 @@ # DEX8 CLI

## Documentation
Documentation is available at [https://www.dex8.com/docs/cli](https://www.dex8.com/docs/cli) .
Documentation is available at [https://www.dex8.com/docs/lib/dex8-cli](https://www.dex8.com/docs/lib/dex8-cli) .

@@ -104,0 +104,0 @@

Sorry, the diff of this file is not supported yet

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