@develemail/cli 0.1.3 → 0.1.5
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 +3 -2
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -179,9 +179,10 @@ function openBrowser(url) {
|
|
|
179
179
|
const cmd = platform() === "darwin" ? "open" : platform() === "win32" ? "start" : "xdg-open";
|
|
180
180
|
exec(`${cmd} "${url}"`);
|
|
181
181
|
}
|
|
182
|
-
var loginCommand = new Command4("login").description("Authenticate with your DevelEmail instance via browser").
|
|
182
|
+
var loginCommand = new Command4("login").description("Authenticate with your DevelEmail instance via browser").option(
|
|
183
183
|
"--url <url>",
|
|
184
|
-
"Base URL of your DevelEmail
|
|
184
|
+
"Base URL of your DevelEmail API",
|
|
185
|
+
"https://develemail.com/api"
|
|
185
186
|
).action(async (opts) => {
|
|
186
187
|
const apiUrl = opts.url.replace(/\/$/, "");
|
|
187
188
|
const baseUrl = apiUrl.replace(/\/api$/, "");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@develemail/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"devel": "dist/index.js"
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsup"
|
|
18
|
-
},
|
|
19
16
|
"dependencies": {
|
|
20
|
-
"@develemail/sdk": "workspace:*",
|
|
21
17
|
"commander": "^12.1.0",
|
|
22
|
-
"dotenv": "^16.4.5"
|
|
18
|
+
"dotenv": "^16.4.5",
|
|
19
|
+
"@develemail/sdk": "0.1.1"
|
|
23
20
|
},
|
|
24
21
|
"devDependencies": {
|
|
25
22
|
"tsup": "^8.3.5",
|
|
26
23
|
"typescript": "~5.7.2"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsup"
|
|
27
27
|
}
|
|
28
|
-
}
|
|
28
|
+
}
|