Ok so first thing first
Big thanks to Ivan for creating such an awesome jQuery plugin called jsTree. If you are looking for jsTree you should visit (http://www.jstree.com/)
jcTree
jcTree is a c# program that utilizes jsTree to create Tree from a given directory structure and output it to a HTML file. This tool is in initial stages and do the basic stuff. You can create folder and directory tree with one command. There can be many use cases why you would want to do it. Your use is the one that brought you on this page.
Current Version
jcTree is at version 1.0
Feedback
Your feedback is important to me so please contact me If you would like add a feature or two to this util. I will be working in my free time to improve on this Util to take out the best from jsTree.
Features
- Creates Tree with many themes supplied by jsTree
- You can specify what file types should be included in resultant tree file.
- Outputs HTML
- You can specify your own output folder and file name.
Usage
Given that jcTree is in your Environment path you can use it as
1 2 3 4 5 6 7 8 9 |
shell>jctree -source=PathToDirectory -target=TargetDirectory [options] ---options--- -v verbose mode ->default is off -filename target file name -> default value is index.html -inclfs Include file size (switch only) -theme apple|default|classic|default-rtl, Default value is apple -treeid DOM ID for tree branch. Default value is jctreeit -filetypes *.* is default. You can have values e.g. *.html (all html files) or *.txt (all text files) or *c*.txt (all files that has 'c' in their names and ends with .txt) |
Pre-requisites
- .NET Framework >= 3.5
Support me with little donations
Download
jcTree
Documentation
http://jaspreetchahal.org/jctree-documentation/
License
Jaspreet Chahal is not responsible for any damage caused directly or inderectly and can not be held liable for anything. You understand that you are Using this util at you own Risk.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the “Software”), to deal in the Software without restriction of use,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
– Backlink to http://jaspreetchahal.org if you got a website will be much appreciated
– You can not distribute, sublicense, and/or sell copies of this Software and can not merge it with other software.
Copyright jaspreetchahal.org ©2012
If you would like to merge this util with your software please contact Jaspreet Chahal from his blog contact page at http://jaspreetchahal.org
Disclaimer
=================================================
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
=================================================
Leave a Reply