UNPKG

bluecodex

Version:

Turn repetitive dev tasks into CLI commands with Typescript

9 lines (6 loc) 296 B
import { configFile } from "./config-file"; export async function saveBluecodexConfigShFile(aliasName: string) { const resolverJsFile = configFile("resolver.mjs"); const shellShFile = configFile("shell.sh"); await shellShFile.save([`alias ${aliasName}="${resolverJsFile.tildePath}"`]); }