@flowmind/cli 0.3.11 → 0.3.12
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -641,7 +641,7 @@ async function replaceLinkFile(path, content) {
|
|
|
641
641
|
const mode = await permissionBits(path);
|
|
642
642
|
try {
|
|
643
643
|
await writeFile2(temporary, `${JSON.stringify(content, null, 2)}
|
|
644
|
-
`, { encoding: "utf8", flag: "wx" });
|
|
644
|
+
`, { encoding: "utf8", flag: "wx", ...mode === null ? {} : { mode } });
|
|
645
645
|
if (mode !== null) await chmod(temporary, mode);
|
|
646
646
|
await rename(temporary, path);
|
|
647
647
|
} finally {
|
|
@@ -8043,7 +8043,7 @@ for (const [name, description, done] of [
|
|
|
8043
8043
|
|
|
8044
8044
|
// src/index.ts
|
|
8045
8045
|
var program = new Command12();
|
|
8046
|
-
program.name("flowmind").description("Flowmind CLI (also installed as fm)").version("0.3.
|
|
8046
|
+
program.name("flowmind").description("Flowmind CLI (also installed as fm)").version("0.3.12").enablePositionalOptions();
|
|
8047
8047
|
program.addCommand(agentCommand);
|
|
8048
8048
|
program.addCommand(authCommand);
|
|
8049
8049
|
program.addCommand(logCommand);
|
package/package.json
CHANGED