Chris@programming.devtoProgramming@programming.dev•In CLI design, how to ask the user for a nested structured input?English
2·
1 year agoJust pass in the name of a json file as a CLI input (or default the name and act on it if present or use it if indicated [e.g. /U == use json.config]).
The comment above stands on its own. Code can be overwhelming - start by going through an existing program and write a comment for every single line - describing exactly what each line does. You’ll pick it up faster than you think.