bebop/ark

Subcommands and Cobra commander.

TimothyStiles opened this issue · 0 comments

There's a lot more main has to do other than set up initial test database. This requires a commander tool like Cobra.

I've used alternatives before but Cobra looks more solid and provides the features we'll need.

To start we just need basic commands for building and breaking down the test database. No need to serve or anything since it's SQLite.

In terms of commands we'll need the following:

  • local - builds a local test implementation and DB. Should be light weight enough to run on a laptop and build fairly quickly.

  • clean - removes database

  • download - pulls all dbs used in allbase

  • prod - builds production server.

There's definitely more to do here but this is the best start and needs to prioritized.