@dokploy/cli 0.2.3 → 0.2.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/LICENSE.md +21 -0
- package/dist/commands/app/create.d.ts +4 -0
- package/dist/commands/app/create.js +87 -37
- package/dist/commands/app/delete.d.ts +2 -0
- package/dist/commands/app/delete.js +50 -28
- package/dist/commands/app/deploy.d.ts +5 -0
- package/dist/commands/app/deploy.js +93 -55
- package/dist/commands/app/stop.d.ts +5 -0
- package/dist/commands/app/stop.js +87 -54
- package/dist/commands/database/mariadb/create.d.ts +9 -0
- package/dist/commands/database/mariadb/create.js +160 -66
- package/dist/commands/database/mariadb/delete.d.ts +2 -0
- package/dist/commands/database/mariadb/delete.js +56 -47
- package/dist/commands/database/mariadb/deploy.d.ts +5 -0
- package/dist/commands/database/mariadb/deploy.js +88 -54
- package/dist/commands/database/mariadb/stop.d.ts +5 -0
- package/dist/commands/database/mariadb/stop.js +88 -54
- package/dist/commands/database/mongo/create.d.ts +8 -0
- package/dist/commands/database/mongo/create.js +145 -76
- package/dist/commands/database/mongo/delete.d.ts +2 -0
- package/dist/commands/database/mongo/delete.js +56 -45
- package/dist/commands/database/mongo/deploy.d.ts +5 -0
- package/dist/commands/database/mongo/deploy.js +88 -54
- package/dist/commands/database/mongo/stop.d.ts +5 -0
- package/dist/commands/database/mongo/stop.js +88 -54
- package/dist/commands/database/mysql/create.d.ts +9 -0
- package/dist/commands/database/mysql/create.js +168 -81
- package/dist/commands/database/mysql/delete.d.ts +2 -0
- package/dist/commands/database/mysql/delete.js +56 -47
- package/dist/commands/database/mysql/deploy.js +70 -53
- package/dist/commands/database/mysql/stop.js +70 -53
- package/dist/commands/database/postgres/create.d.ts +8 -0
- package/dist/commands/database/postgres/create.js +155 -76
- package/dist/commands/database/postgres/delete.d.ts +2 -0
- package/dist/commands/database/postgres/delete.js +56 -44
- package/dist/commands/database/postgres/deploy.d.ts +5 -0
- package/dist/commands/database/postgres/deploy.js +90 -56
- package/dist/commands/database/postgres/stop.d.ts +5 -0
- package/dist/commands/database/postgres/stop.js +91 -57
- package/dist/commands/database/redis/create.d.ts +6 -0
- package/dist/commands/database/redis/create.js +129 -65
- package/dist/commands/database/redis/delete.d.ts +2 -0
- package/dist/commands/database/redis/delete.js +60 -50
- package/dist/commands/database/redis/deploy.d.ts +5 -0
- package/dist/commands/database/redis/deploy.js +90 -56
- package/dist/commands/database/redis/stop.d.ts +5 -0
- package/dist/commands/database/redis/stop.js +91 -57
- package/dist/commands/env/pull.d.ts +10 -0
- package/dist/commands/env/pull.js +68 -0
- package/dist/commands/env/push.d.ts +10 -0
- package/dist/commands/env/push.js +106 -0
- package/dist/commands/project/create.d.ts +2 -1
- package/dist/commands/project/create.js +53 -34
- package/dist/utils/utils.js +9 -2
- package/oclif.manifest.json +895 -110
- package/package.json +3 -2
- package/{README.md → readme.md} +16 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dokploy/cli",
|
|
3
3
|
"description": "A CLI to manage dokploy server remotely",
|
|
4
|
-
"version": "v0.2.
|
|
4
|
+
"version": "v0.2.5",
|
|
5
5
|
"author": "Mauricio Siu",
|
|
6
6
|
"licenses": [{
|
|
7
7
|
"type": "MIT",
|
|
@@ -81,7 +81,8 @@
|
|
|
81
81
|
"posttest": "pnpm run lint",
|
|
82
82
|
"prepack": "oclif manifest && oclif readme",
|
|
83
83
|
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
84
|
-
"version": "oclif readme && git add README.md"
|
|
84
|
+
"version": "oclif readme && git add README.md",
|
|
85
|
+
"publish" :"npm publish"
|
|
85
86
|
},
|
|
86
87
|
"types": "dist/index.d.ts"
|
|
87
88
|
}
|
package/{README.md → readme.md}
RENAMED
|
@@ -17,6 +17,7 @@ Dokploy CLI is a powerful and versatile command-line tool designed to remotely m
|
|
|
17
17
|
- [Authentication](#authentication)
|
|
18
18
|
- [Project Management](#project-management)
|
|
19
19
|
- [Application Management](#application-management)
|
|
20
|
+
- [Environment Management](#environment-management)
|
|
20
21
|
- [Database Management](#database-management)
|
|
21
22
|
- [Contributing](#contributing)
|
|
22
23
|
- [Support](#support)
|
|
@@ -25,7 +26,7 @@ Dokploy CLI is a powerful and versatile command-line tool designed to remotely m
|
|
|
25
26
|
## Installation
|
|
26
27
|
|
|
27
28
|
```sh-session
|
|
28
|
-
$ npm install -g dokploy
|
|
29
|
+
$ npm install -g @dokploy/cli
|
|
29
30
|
```
|
|
30
31
|
|
|
31
32
|
## Usage
|
|
@@ -63,35 +64,45 @@ USAGE
|
|
|
63
64
|
- `dokploy app:deploy`: Deploy an application.
|
|
64
65
|
- `dokploy app:stop`: Stop a running application.
|
|
65
66
|
|
|
67
|
+
### Enviroment Management
|
|
68
|
+
|
|
69
|
+
- `dokploy env pull <file>`: Pull environment variables from Dokploy in a <file>.
|
|
70
|
+
- `dokploy env push <file>`: Push environment variables to Dokploy from a <file>.
|
|
71
|
+
|
|
66
72
|
### Database Management
|
|
67
73
|
|
|
68
74
|
Dokploy supports various types of databases:
|
|
69
75
|
|
|
70
76
|
#### MariaDB
|
|
77
|
+
|
|
71
78
|
- `dokploy database:mariadb:create`
|
|
72
79
|
- `dokploy database:mariadb:delete`
|
|
73
80
|
- `dokploy database:mariadb:deploy`
|
|
74
81
|
- `dokploy database:mariadb:stop`
|
|
75
82
|
|
|
76
83
|
#### MongoDB
|
|
84
|
+
|
|
77
85
|
- `dokploy database:mongo:create`
|
|
78
86
|
- `dokploy database:mongo:delete`
|
|
79
87
|
- `dokploy database:mongo:deploy`
|
|
80
88
|
- `dokploy database:mongo:stop`
|
|
81
89
|
|
|
82
90
|
#### MySQL
|
|
91
|
+
|
|
83
92
|
- `dokploy database:mysql:create`
|
|
84
93
|
- `dokploy database:mysql:delete`
|
|
85
94
|
- `dokploy database:mysql:deploy`
|
|
86
95
|
- `dokploy database:mysql:stop`
|
|
87
96
|
|
|
88
97
|
#### PostgreSQL
|
|
98
|
+
|
|
89
99
|
- `dokploy database:postgres:create`
|
|
90
100
|
- `dokploy database:postgres:delete`
|
|
91
101
|
- `dokploy database:postgres:deploy`
|
|
92
102
|
- `dokploy database:postgres:stop`
|
|
93
103
|
|
|
94
104
|
#### Redis
|
|
105
|
+
|
|
95
106
|
- `dokploy database:redis:create`
|
|
96
107
|
- `dokploy database:redis:delete`
|
|
97
108
|
- `dokploy database:redis:deploy`
|
|
@@ -103,6 +114,10 @@ For more information about a specific command, use:
|
|
|
103
114
|
$ dokploy [COMMAND] --help
|
|
104
115
|
```
|
|
105
116
|
|
|
117
|
+
## Contributing
|
|
118
|
+
|
|
119
|
+
If you want to contribute to Dokploy CLI, please check out our [Contributing Guide](https://github.com/Dokploy/cli/blob/main/CONTRIBUTING.md).
|
|
120
|
+
|
|
106
121
|
## Support
|
|
107
122
|
|
|
108
123
|
If you encounter any issues or have any questions, please [open an issue](https://github.com/yourusername/dokploy/issues) in our GitHub repository.
|