@wordpress-flow/cli 1.2.7 → 1.2.8
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 +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116132,7 +116132,7 @@ class DockerEnvManager {
|
|
|
116132
116132
|
// package.json
|
|
116133
116133
|
var package_default = {
|
|
116134
116134
|
name: "@wordpress-flow/cli",
|
|
116135
|
-
version: "1.2.
|
|
116135
|
+
version: "1.2.8",
|
|
116136
116136
|
type: "module",
|
|
116137
116137
|
description: "TypeScript-based WordPress block creation system",
|
|
116138
116138
|
main: "dist/index.js",
|
|
@@ -118024,7 +118024,8 @@ program2.command("destroy").description("Remove Docker containers and volumes fo
|
|
|
118024
118024
|
process.exit(1);
|
|
118025
118025
|
}
|
|
118026
118026
|
});
|
|
118027
|
-
program2.command("database
|
|
118027
|
+
var databaseCmd = program2.command("database").description("Database management commands");
|
|
118028
|
+
databaseCmd.command("import").description("Import SQL dump into Docker database").option("-f, --file <path>", "Path to SQL file (defaults to config sqlDump)").action(async (options) => {
|
|
118028
118029
|
try {
|
|
118029
118030
|
await ensureConfiguration();
|
|
118030
118031
|
const command = new EnvCommand;
|
|
@@ -118034,7 +118035,7 @@ program2.command("database import").description("Import SQL dump into Docker dat
|
|
|
118034
118035
|
process.exit(1);
|
|
118035
118036
|
}
|
|
118036
118037
|
});
|
|
118037
|
-
|
|
118038
|
+
databaseCmd.command("export").description("Export Docker database to SQL file").option("-f, --file <path>", "Output path for SQL file (defaults to config sqlDump or ./db/dump.sql)").action(async (options) => {
|
|
118038
118039
|
try {
|
|
118039
118040
|
await ensureConfiguration();
|
|
118040
118041
|
const command = new EnvCommand;
|