Skip to content

Commit

Permalink
add doc for tree command
Browse files Browse the repository at this point in the history
  • Loading branch information
ksckaan1 committed Sep 19, 2024
1 parent f96bd54 commit 8fe49cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Hexago is a CLI tool for you to create a Go project by applying hexagonal archit
- [`pkg`](#pkg)
- [`cmd`](#cmd)
- [`run`](#run)
- [`tree`](#tree)
- [Templates](#templates)
- [Custom Templates](#custom-templates)
- [Naming Custom Template](#naming-custom-template)
Expand Down Expand Up @@ -455,6 +456,15 @@ This command can be used for two different purposes. the `run` command create a
go version go1.23.0 darwin/arm64
```

### `tree`
This command prints hexagonal structure of project.

```sh
hexago tree
```

![](./doc/17-tree.gif)

## Templates

When creating service, application, infrastructure and package with Hexago, templates are used to create go files. Hexago has 2 built-in templates, `std` and `do`.
Expand Down
Binary file added doc/17-tree.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8fe49cb

Please sign in to comment.