diff options
| author | eltrac <hi@eltr.ac> | 2026-05-27 14:48:37 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-05-27 14:48:37 +0800 |
| commit | 886e3980c03cd056157164bc2a4a712167849270 (patch) | |
| tree | 6bba64b9b41100e8ba3048aa7f92e1e452e1b889 /main.go | |
| parent | 51ed797d38edb3f3884d69064d72108497a24818 (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -73,9 +73,16 @@ func main() { Value: false, Destination: &ListNoDep, }, + &cli.BoolFlag{ + Name: "no-cache", + Aliases: []string{"nc"}, + Usage: "Disable caching", + Value: false, + Destination: &NoCache, + }, }, Action: func(ctx context.Context, cmd *cli.Command) error { - return runList() + return runList(!NoCache) }, }, { |
