New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/ddddddO/gtree/v6

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ddddddO/gtree/v6

  • v6.2.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

gtree

GitHub release Go Reference ci codecov Go Report Card

(markdown || program) to tree.

## 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


CLI

read me!

Package(1) / like CLI

read me!

Package(2) / generate a tree programmatically

read me!


Documents

FAQs

Package last updated on 20 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc