pondersource / prejournal

An experimental bookkeeping tool that sits between source documents and journals
https://prejournal.org
MIT License
2 stars 2 forks source link

Switch away from positional arguments #144

Open michielbdejong opened 1 year ago

michielbdejong commented 1 year ago

The .pj file format was working well for me with positional arguments, but now that we're using PreJournal with more people, and using API calls to execute commands, which was also something I hadn't originally thought through, it's probably time to redesign this...

For a REST API, an object in a JSON request body would be much better practice than a array-of-strings, of course, and as we use for instance the worked-hours command in several different ways, we really need the flexibility.