refactor: move and update things

This commit is contained in:
Jacob Nguyen
2023-05-03 21:02:51 -05:00
parent b7a13d6558
commit cae1f648f0
5 changed files with 100 additions and 76 deletions

View File

@@ -58,6 +58,7 @@ export function buildModuleStream<T>(
export function getCommands(dir: string): string[] {
return readPath(join(process.cwd(), dir));
}
export function filename(path: string) {
return fmtFileName(basename(path))
}