Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Jun 8, 2024
1 parent bcdfa92 commit 4ee3d05
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 24 deletions.
96 changes: 96 additions & 0 deletions .github/images/usage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 1 addition & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,30 +67,7 @@ goheft --generate-man | sudo gzip > /usr/share/man/man1/goheft.1.gz

### Usage

```
Usage: goheft {options} go-file
Options
--tags, -t tag… Build tags (mergeble)
--external, -E Shadow internal packages
--pager, -P Use pager for long output
--min-size, -m size Don't show with size less than defined
--no-color, -nc Disable colors in output
--help, -h Show this help message
--version, -v Show version
Examples
goheft application.go
Show size of each used library
goheft application.go -m 750kb
Show size of each used library which greater than 750kb
goheft application.go -t release,slim
Use tags when building and counting size
```
<img src=".github/images/usage.svg" />

### Build Status

Expand Down

0 comments on commit 4ee3d05

Please sign in to comment.