Skip to content

Commit 5adfeef

Browse files
committed
add aliases to hsm gen-types
1 parent 844b1bb commit 5adfeef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bin/hsm.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ for (const argument of process.argv.slice(2)) {
210210
console.log(`synced ${macrosSynced} macros to ${usersSynced} users`)
211211
} break
212212

213+
case `generate-type-declaration`:
214+
case `gen-type-declaration`:
215+
case `gen-dts`:
213216
case `gen-types`: {
214217
const sourcePath = resolvePath(commands[1] || `.`)
215218
const typeDeclaration = generateTypeDeclaration(sourcePath, (await getConfig()).hackmudPath)

0 commit comments

Comments
 (0)