Writing an awesome CLI with typescript
An overview of the tech stack Setting up the project & installing dependencies Quality of life: Typescript path alias imports with bun Quality of life: Prettier & package.json scripts File structure and separation of concerns The CLI menu - menu.ts The last run configuration from DB - db.ts Bringing it all together - main.ts Conclusion If you have ever wanted to build a Command Line Interface (short: CLI) in typescript, this post is for you!...