@haenah/u1z 0.1.1 → 0.1.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/package.json +1 -1
- package/src/cli/commands/doctor.ts +1 -4
- package/src/cli/index.ts +3 -0
package/package.json
CHANGED
|
@@ -91,10 +91,7 @@ async function checks(): Promise<CheckResult[]> {
|
|
|
91
91
|
results.push({
|
|
92
92
|
label: "설정 파일 필수 변수",
|
|
93
93
|
ok: missingVars.length === 0,
|
|
94
|
-
hint:
|
|
95
|
-
missingVars.length > 0
|
|
96
|
-
? `누락: ${missingVars.join(", ")} — ${configPath}`
|
|
97
|
-
: undefined,
|
|
94
|
+
hint: missingVars.length > 0 ? `누락: ${missingVars.join(", ")} — ${configPath}` : undefined,
|
|
98
95
|
});
|
|
99
96
|
|
|
100
97
|
// 9. systemd u1z.service 등록 여부
|
package/src/cli/index.ts
CHANGED
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
import yargs from "yargs";
|
|
3
3
|
import { hideBin } from "yargs/helpers";
|
|
4
4
|
|
|
5
|
+
const { version } = await import("../../package.json");
|
|
6
|
+
|
|
5
7
|
yargs(hideBin(process.argv))
|
|
6
8
|
.scriptName("u1z")
|
|
9
|
+
.version(version)
|
|
7
10
|
.command("init", "대화형 초기 셋업 및 systemd 서비스 등록", {}, () =>
|
|
8
11
|
import("./commands/init").then((m) => m.init()),
|
|
9
12
|
)
|