commercebuild-cli 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -87,7 +87,7 @@ Store ID: ${i.store_id}
|
|
|
87
87
|
User ID: ${a?.user?.id}
|
|
88
88
|
User Email: ${a?.user?.email}
|
|
89
89
|
Customer: ${a?.user?.customer.customerCode||""} ${a.user?.customer.name||""}`,{padding:1}))}catch(e){t.fail(`${te.red(`An error occurred: ${e.message||"An unknown issue was encountered."}`)}
|
|
90
|
-
Please try logging in again, or contact the administrator if the issue persists.`)}finally{process.exit()}});var bn=new hr;bn.name("extension").description("commercebuild Extension CLI");bn.command("list").description("list all available extensions").action(()=>{console.log("Listing all extensions...")});bn.command("create <directory>").description("create a new extension in the specified directory").action(t=>{console.log(`Creating a new extension in directory: ${t}`)});bn.command("checkout").description("checkout an existing extension for modification").action(()=>{console.log("Checking out an extension...")});var b6="commercebuild-cli",td="0.0.
|
|
90
|
+
Please try logging in again, or contact the administrator if the issue persists.`)}finally{process.exit()}});var bn=new hr;bn.name("extension").description("commercebuild Extension CLI");bn.command("list").description("list all available extensions").action(()=>{console.log("Listing all extensions...")});bn.command("create <directory>").description("create a new extension in the specified directory").action(t=>{console.log(`Creating a new extension in directory: ${t}`)});bn.command("checkout").description("checkout an existing extension for modification").action(()=>{console.log("Checking out an extension...")});var b6="commercebuild-cli",td="0.0.2",v6="CLI tool for executing commercebuild commands";var fP=new hr;fP.name(b6).description(`${v6}
|
|
91
91
|
|
|
92
92
|
Version: ${td}`).version(td).addCommand(Dn).addCommand(bn).addHelpText("after",`
|
|
93
93
|
For more information, see https://docs.commercebuild.com/cli`).parse();
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commercebuild-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "CLI tool for executing commercebuild commands",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"commercebuild": "dist/index.js"
|
|
7
|
+
"commercebuild-cli": "dist/index.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|