utils icon indicating copy to clipboard operation
utils copied to clipboard

Vwtree dev

Open protist opened this issue 10 years ago • 3 comments

Fixed bugs:

  • Rename from vmtree to vwtree.
  • Allow files with ── in their name.
  • Minor copyedit.

Added features:

  • Print un-checked todo items.
  • Added option to print only todo items or contents.

protist avatar May 16 '15 01:05 protist

I'm not sure if I did this the "correct" way, so please let me know. I created a new branch (vwtree_dev), and made the pull request from this branch. Cheers.

protist avatar May 16 '15 01:05 protist

Printing out the open todo items is surely useful, but has exactly nothing to do with printing the tree structure of the wiki. Why not making a script of its own?

EinfachToll avatar May 18 '15 12:05 EinfachToll

I put it in a single script because personally, I output to a single index.wiki page. I did think that some might not want to put both on a single page, hence the script can also output only either todo list with vwtree.sh -t or the contents with vwtree.sh -c. I suppose the name is wrong now anyway; maybe something like vwmakeindex.sh is better.

I guess two scripts might work, although personally, I'd probably alias (vmtodo.sh; echo; vmtree.sh ) anyway.

protist avatar May 18 '15 14:05 protist