Grouping GlobalArgs to dedicated heading (#5665)

## Summary

Part of #4454 .

## Test Plan

test cases included.

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
eth3lbert 2024-08-01 23:01:22 +08:00 committed by GitHub
parent 9a1a2118e1
commit 9788496c51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 279 additions and 283 deletions

View file

@ -7,6 +7,7 @@ use directories::ProjectDirs;
use crate::Cache;
#[derive(Parser, Debug, Clone)]
#[command(next_help_heading = "Cache options")]
pub struct CacheArgs {
/// Avoid reading from or writing to the cache, instead using a temporary directory for the
/// duration of the operation.