Skip to content

treeの実行結果をHTMLに変換することができるコマンドラインのツールです。

License

Notifications You must be signed in to change notification settings

kokiito0926/treelink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

treelink

treelinkは、treeの実行結果をHTMLに変換することができるコマンドラインのツールです。
静的なウェブサイトをデプロイして、ファイル一覧を確認するようなときに最適です。

インストール

$ npm install --global @kokiito0926/treelink

使用方法

treeの実行結果が標準入力から与えられると、HTMLに変換します。

$ tree . -L 2 | treelink

--baseのオプションを用いると、リンクの起点を設定できます。

$ tree . -L 2 | treelink --base "./src"

treeeにも対応しているので、treeがインストールされていない環境でも利用できます。

$ npx treee . -L 2 | treelink

ライセンス

MIT

About

treeの実行結果をHTMLに変換することができるコマンドラインのツールです。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors