sakuraapi / cli

Command Line Interface for Scaffolding and Managing SakuraAPI Projects
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Database config generator #18

Open etsuo opened 6 years ago

etsuo commented 6 years ago

This should be able to parse existing environment json and ts files for both spec config and normal config to add, edit, delete DB config.

Ideally, it would expect various config files to be in a particular place, but would allow you to designate alternative paths if files aren't where they're expected to be. One example of this would be the dbs.ts file.

On the TS side of things, some kind of AST parsing would be nice: http://blog.scottlogic.com/2017/05/02/typescript-compiler-api-revisited.html