Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(examples): draw nested structure in file tree example #399

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

meowgorithm
Copy link
Member

This updates the tree/files example to draw a nested file tree.

For example, here is its walking through the current examples directory in this repo:

/home/christian/lipgloss/examples
├── go.mod 
├── go.sum 
├── layout 
│   └── main.go 
├── list 
│   ├── duckduckgoose 
│   │   └── main.go 
│   ├── glow 
│   │   └── main.go 
│   ├── grocery 
│   │   └── main.go 
│   ├── roman 
│   │   └── main.go 
│   ├── simple 
│   │   └── main.go 
│   └── sublist 
│       └── main.go 
├── ssh 
│   └── main.go 
├── table 
│   ├── ansi 
│   │   └── main.go 
│   ├── chess 
│   │   └── main.go 
│   ├── demo.tape 
│   ├── languages 
│   │   └── main.go 
│   ├── mindy 
│   │   └── main.go 
│   └── pokemon 
│       └── main.go 
└── tree 
    ├── background 
    │   └── main.go 
    ├── files 
    │   └── main.go 
    ├── makeup 
    │   └── main.go 
    ├── rounded 
    │   └── main.go 
    ├── simple 
    │   └── main.go 
    ├── styles 
    │   └── main.go 
    └── toggle 
        └── main.go 

@meowgorithm meowgorithm merged commit 24258b8 into master Oct 17, 2024
10 checks passed
@meowgorithm meowgorithm deleted the recursive-walk branch October 17, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant