git-project-manager/docs/git-project-manager_cache_clear.md

37 lines
1.1 KiB
Markdown
Raw Normal View History

2024-12-27 22:42:44 +00:00
## git-project-manager cache clear
2024-12-19 19:51:26 +00:00
2024-12-27 22:42:44 +00:00
Clear Git Project Cache
2024-12-19 19:51:26 +00:00
### Synopsis
Used to reset a project cache, forcing it to be rebuilt.
If --clearAliases is provided, will also reset aliases. Use with caution.
```
2024-12-27 22:42:44 +00:00
git-project-manager cache clear [flags]
2024-12-19 19:51:26 +00:00
```
### Options
```
--clearAliases Will also clear aliases from the cache, use with caution
-h, --help help for clear
```
### Options inherited from parent commands
```
2024-12-27 22:42:44 +00:00
--config string config file (default is ~/.config/git-project-manager.yaml)
2024-12-19 19:51:26 +00:00
--logLevel string Default log level -- info, warn, error, debug (default "info")
--projectPath string Sets a path for local clones of projects
--remote strings Specify remotes by host for any sub-command. Provide multiple times or comma delimited.
--ttl duration Duration before cache is re-built in go time.Duration format (default 48h0m0s)
```
### SEE ALSO
2024-12-27 22:42:44 +00:00
* [git-project-manager cache](git-project-manager_cache.md) - Manage Git project cache
2024-12-19 19:51:26 +00:00
2025-01-01 01:51:04 +00:00
###### Auto generated by spf13/cobra on 31-Dec-2024