🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

chargebee-init

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chargebee-init - npm Package Compare versions

Comparing version
1.1.0
to
1.1.1
+4
-4
dist/cli.js

@@ -11,7 +11,7 @@ import colors from "ansi-colors";

--path Path to the app with a supported framework in package.json
--dangerously-skip-checks Skip all checks and prompts. Use this only if you know what you are doing!
--use-defaults Skip all checks and prompts. Use this only if you know what you are doing!
Examples
$ chargebee-init
$ chargebee-init --path /path/to/my-app --dangerously-skip-checks
$ chargebee-init --path /path/to/my-app --use-defaults
$ chargebee-init help nextjs|express

@@ -26,6 +26,6 @@ `, {

isRequired: (flags) => {
return !!flags.dangerouslySkipChecks;
return !!flags.useDefaults;
},
},
dangerouslySkipChecks: {
useDefaults: {
type: "boolean",

@@ -32,0 +32,0 @@ default: false,

@@ -20,3 +20,3 @@ import colors from "ansi-colors";

export const init = async (flags) => {
const { path, dangerouslySkipChecks } = flags;
const { path, useDefaults } = flags;
const cwd = (path || process.cwd());

@@ -26,3 +26,3 @@ const enquirer = new Enquirer();

let detectedFramework;
if (!dangerouslySkipChecks) {
if (!useDefaults) {
const { targetDir } = (await enquirer.prompt(targetDirPrompt(cwd)));

@@ -29,0 +29,0 @@ // General checks

{
"name": "chargebee-init",
"version": "1.1.0",
"version": "1.1.1",
"author": {

@@ -5,0 +5,0 @@ "name": "Chargebee",

@@ -37,3 +37,3 @@ # chargebee-init

```shell
npx chargebee-init@latest --dangerously-skip-checks --path=<full-path-to-your-app>
npx chargebee-init@latest --use-defaults --path=<full-path-to-your-app>
```

@@ -40,0 +40,0 @@