You should be able to write a script that does the same thing as leg doc without having to deal with Snaptoken::CLI or Command classes. So most of the code in Snaptoken::Commands::Doc should be moved to a method in Snaptoken::Tutorial or perhaps a new class.
You should be able to write a script that does the same thing as
leg doc
without having to deal withSnaptoken::CLI
orCommand
classes. So most of the code inSnaptoken::Commands::Doc
should be moved to a method inSnaptoken::Tutorial
or perhaps a new class.