@cloud-cli/dc 1.2.0 → 1.3.0
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/package.json +1 -1
- package/src/index.ts +14 -16
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getConfig, init } from '@cloud-cli/cli';
|
|
1
|
+
import { getConfig, init, help } from '@cloud-cli/cli';
|
|
2
2
|
import { exec } from '@cloud-cli/exec';
|
|
3
3
|
import { existsSync, mkdirSync } from 'node:fs';
|
|
4
4
|
import { readFile, readdir, rm, writeFile } from 'node:fs/promises';
|
|
@@ -122,21 +122,19 @@ export default {
|
|
|
122
122
|
binaryAndArgs.binary = 'exit';
|
|
123
123
|
binaryAndArgs.args.push('1');
|
|
124
124
|
},
|
|
125
|
-
help: () =>
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
},
|
|
139
|
-
}),
|
|
125
|
+
[help]: () => `Manage Docker Compose services
|
|
126
|
+
|
|
127
|
+
Available commands:
|
|
128
|
+
start - Start services (optional name to start specific service)
|
|
129
|
+
stop - Stop services (optional name to stop specific service)
|
|
130
|
+
update - Update Docker Compose services
|
|
131
|
+
remove - Remove a Compose file
|
|
132
|
+
show - Show content of a Compose file
|
|
133
|
+
list - List Compose files/services
|
|
134
|
+
|
|
135
|
+
Options:
|
|
136
|
+
name - Service/Compose file name
|
|
137
|
+
content - Docker Compose YAML content (for update command)`,
|
|
140
138
|
start,
|
|
141
139
|
stop,
|
|
142
140
|
update,
|