template-instance icon indicating copy to clipboard operation
template-instance copied to clipboard

Create a CLI setup script

Open blueridger opened this issue 4 years ago • 1 comments

Create a script that prompts the user for the required configurations for an instance, including:

  • Plugins used (sourcecred.json)
  • Tokens for each plugin (.env)
  • Grain distributions (grain.json)

Additionally, it can call plugin-specific sub-scripts that build the plugin configs.

A bash script would be the obvious choice, though there are other options. It would be really nice to utilize the new Instance interface for read/write (https://github.com/sourcecred/sourcecred/pull/2764).

blueridger avatar Feb 12 '21 18:02 blueridger

Can I be involved in this to help design the script flow & language?

KuraFire avatar Feb 12 '21 20:02 KuraFire