Add draft logic for adding a repl docs command, requires addition of the
relevant template files.