Programming language: Go
License: BSD 2-clause "Simplified" License
Tags: Miscellaneous     Uncategorized    

gtree alternatives and similar packages

Based on the "Uncategorized" category.
Alternatively, view gtree alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of gtree or a related project?

Add another 'Uncategorized' Package



GitHub release Go Reference ci codecov Go Report Card

Generate tree๐ŸŒณ from Markdown or Programmatically. Provide CLI and Package for Go, output is JSON or YAML or TOML or tree command.

## Description
โ”œโ”€โ”€ There are three ways to generate tree (CLI, Package(1), Package(2)). They are explained below.
โ”œโ”€โ”€ CLI and Package(1)
โ”‚   โ”œโ”€โ”€ Given a Markdown file or format, the result of linux tree command is printed.
โ”‚   โ”œโ”€โ”€ Create Markdown file by referring to the file in the `testdata/` directory.
โ”‚   โ”‚   โ”œโ”€โ”€ Hierarchy is represented by hyphen and indentation.
โ”‚   โ”‚   โ””โ”€โ”€ Indentation should be unified by one of the following.
โ”‚   โ”‚       โ”œโ”€โ”€ Tab (default)
โ”‚   โ”‚       โ”œโ”€โ”€ Two spaces (required: `-ts`)
โ”‚   โ”‚       โ””โ”€โ”€ Four spaces (required: `-fs`)
โ”‚   โ”œโ”€โ”€ You can also output JSON (required: `-j`)
โ”‚   โ”œโ”€โ”€ You can also output YAML (required: `-y`)
โ”‚   โ””โ”€โ”€ You can also output TOML (required: `-t`)
โ”œโ”€โ”€ Package(1)
โ”‚   โ””โ”€โ”€ You can customize branch format.
โ””โ”€โ”€ Package(2)
    โ”œโ”€โ”€ You can also generate a tree programmatically.
    โ”œโ”€โ”€ Markdown is irrelevant.
    โ”œโ”€โ”€ You can customize branch format.
    โ””โ”€โ”€ You can also output JSON or YAML or TOML.

generated by cat testdata/sample0.md | gtree -fs


read me!

Package(1) / like CLI

read me!

Package(2) / generate a tree programmatically

read me!