Commit Graph

26 Commits (4a0f1aa9195477cea1033a248d3998d08224e464)

Author SHA1 Message Date
Joshua Potter 250f58bcc2
Add a yes/no prompt type. (#13) 2023-12-13 12:03:42 -07:00
Joshua Potter 383ada8661
Add an optional `required` attribute to fields. (#10) 2023-11-30 09:33:25 -07:00
Joshua Potter b283fcdfb8 Rename type "text" to "line". 2023-11-27 05:03:05 -07:00
Joshua Potter 0f3d5b26b1 Update Makefile to support different release environments. 2023-11-26 08:40:55 -07:00
Joshua Potter 80b1f4ed49 Add consistent error output. 2023-11-26 06:30:44 -07:00
Joshua Potter df65c8bcac Ensure keys are alphanumeric, underscores, and do not begin with digits. 2023-11-25 15:58:13 -07:00
Joshua Potter 0fc476ceed Use case-insensitive variant of `strcmp`. 2023-11-25 15:47:47 -07:00
Joshua Potter 6f77c400e9 Rename `path` to `string_utils`. 2023-11-25 15:29:35 -07:00
Joshua Potter eb598fe639 Add additional content around README. 2023-11-25 15:25:01 -07:00
Joshua Potter 7cc11c86e3 Add documentation for `config`, `dyn_array`, `error`, and `string_buf`. 2023-11-25 11:51:42 -07:00
Joshua Potter 400388b262 Migrate to consolidated error handling. 2023-11-25 09:15:30 -07:00
Joshua Potter ea71a0d661 Add an error interface for arbitrary length messages. 2023-11-25 08:55:52 -07:00
Joshua Potter 683bf863ab Allow executing `run.sh`. 2023-11-24 20:29:24 -07:00
Joshua Potter a17d6eb3e3 Run formatting with additional rules. 2023-11-24 19:35:34 -07:00
Joshua Potter 07f9853481 Convert fields into objects with properties. 2023-11-24 19:29:14 -07:00
Joshua Potter 9eeb858a9a Add first prompt type. 2023-11-24 12:23:52 -07:00
Joshua Potter 795307f2a1 Add command line parsing and test spec directory existence. 2023-11-24 11:47:23 -07:00
Joshua Potter aba0439858 Add draft for `spec.json` validation. 2023-11-24 10:27:44 -07:00
Joshua Potter 1194d70975 Rename loader -> parser. 2023-11-24 09:11:21 -07:00
Joshua Potter b43b1e8122 Rename SpecJsonError -> SpecParseError. 2023-11-24 09:01:33 -07:00
Joshua Potter 9074792cfc Parse JSON if file is available. 2023-11-23 15:01:58 -07:00
Joshua Potter 1b8b454ccd Correctly handle nonexistent `spec.json` file. 2023-11-23 13:31:54 -07:00
Joshua Potter bdbd942e9b Rename once more to `bootstrap`. 2023-11-23 11:02:40 -07:00
Joshua Potter 1c941e71e7 Get the CWD on launch. 2023-11-23 08:07:22 -07:00
Joshua Potter 25b46b9b64 Fix config/dyn_array with tests. 2023-11-23 07:40:17 -07:00
Joshua Potter be95ee0fc5 Add config tests. 2023-11-23 04:09:58 -07:00