Closed apaleslimghost closed 5 years ago
How about a JSON schema for the state file? That could be useful when loading the state file and verifying everything is valid and as expected. I can see cases where someone manually edits a state file, but leaves a small error in the data structure, then nori is unable to correctly read the state file and the user has no idea what to do to resolve the problem.
Ties neatly in to #48.
done
there are currently two separate concepts, the CLI
--state-file
andinteractive
's "run file". they have similar but distinct JSON formats and different codepaths for loading and saving. they should be unified probably