I'm trying to add a functionality where users can lookup documentation for commands - its a command line based program with various commands they can enter.
I think the simplest thing to do is store the docs in an external file but I'm not sure what my best option would be. Text files just seem a bit sloppy, csv is more what I had in mind but dealing with commas in the docs is also not ideal. A dictionary(like json) would be great but I'm not sure how I could read it with Java. I can't use 3rd part libraries.