Registry / cli / tty-tree

tty-tree

JSON →
library0.4.0rbrubygemsunverified

Print directory or structured data in a tree-like format.

gem install tty-tree
INSTALL
IMPORT
SIG · TTY-TREE
T
tty-tree
clirubyv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TTY::Tree
require 'tty-tree'

Render a tree structure from a hash

require 'tty-tree' tree = TTY::Tree.new({'src' => {'lib' => ['app.rb', 'utils.rb'], 'spec' => ['app_spec.rb']}}) puts tree.render
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
tty-tree — gem install tty-tree · libregistry