snaptoken / leg

Tools for making step-by-step code walkthroughs
MIT License
130 stars 2 forks source link

Move `leg doc` implementation outside of Snaptoken::Commands #13

Open paigeruten opened 6 years ago

paigeruten commented 6 years ago

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.