@flowkode/cli 1.0.0 → 1.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/README.md +4 -4
- package/dist/commands/projects.js +1 -1
- package/dist/config.js +1 -1
- package/package.json +10 -3
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ CLI officiel pour l'API Flowkode. Creez, deployez et gerez vos sites web depuis
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install -g @flowkode/cli
|
|
8
|
+
sudo npm install -g @flowkode/cli
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Connexion
|
|
@@ -42,8 +42,8 @@ flowkode logout
|
|
|
42
42
|
# Configurer manuellement une cle API
|
|
43
43
|
flowkode config --api-key ws_live_xxxxx
|
|
44
44
|
|
|
45
|
-
# URL personnalisee (defaut: https://
|
|
46
|
-
flowkode config --base-url https://
|
|
45
|
+
# URL personnalisee (defaut: https://www.flowkode.ai)
|
|
46
|
+
flowkode config --base-url https://www.flowkode.ai
|
|
47
47
|
|
|
48
48
|
# Voir la config actuelle
|
|
49
49
|
flowkode config --show
|
|
@@ -54,7 +54,7 @@ La configuration est stockee dans `~/.flowkode/config.json`.
|
|
|
54
54
|
Variables d'environnement (prioritaires) :
|
|
55
55
|
```bash
|
|
56
56
|
export FLOWKODE_API_KEY=ws_live_xxxxx
|
|
57
|
-
export FLOWKODE_BASE_URL=https://
|
|
57
|
+
export FLOWKODE_BASE_URL=https://www.flowkode.ai
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
## Commandes
|
|
@@ -100,7 +100,7 @@ export function projectsCommand(api) {
|
|
|
100
100
|
cmd
|
|
101
101
|
.command("deploy <id>")
|
|
102
102
|
.description("Deployer un projet")
|
|
103
|
-
.requiredOption("-p, --provider <provider>", "Provider (
|
|
103
|
+
.requiredOption("-p, --provider <provider>", "Provider (vercel, cloudflare)")
|
|
104
104
|
.option("--domain <id>", "ID du domaine a associer")
|
|
105
105
|
.option("--configure-ns", "Configurer les nameservers automatiquement")
|
|
106
106
|
.action(async (id, opts) => {
|
package/dist/config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowkode/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "CLI pour l'API Flowkode - Creer, deployer et gerer vos sites web",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -21,7 +21,14 @@
|
|
|
21
21
|
"typescript": "^5.7.0",
|
|
22
22
|
"@types/node": "^22.0.0"
|
|
23
23
|
},
|
|
24
|
-
"files": [
|
|
25
|
-
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"keywords": [
|
|
28
|
+
"flowkode",
|
|
29
|
+
"cli",
|
|
30
|
+
"website-builder",
|
|
31
|
+
"deploy"
|
|
32
|
+
],
|
|
26
33
|
"license": "MIT"
|
|
27
34
|
}
|