gittuf/internal/cmd/cache/cache.go
PratGit1606 9707977fd3 docs: audit and fix CLI command docstrings across all commands
Signed-off-by: PratGit1606 <prathamgithub16@gmail.com>
2026-07-08 12:02:33 -07:00

24 lines
666 B
Go

// Copyright The gittuf Authors
// SPDX-License-Identifier: Apache-2.0
package cache
import (
"github.com/gittuf/gittuf/internal/cmd/cache/delete"
i "github.com/gittuf/gittuf/internal/cmd/cache/init"
"github.com/spf13/cobra"
)
func New() *cobra.Command {
cmd := &cobra.Command{
Use: "cache",
Short: "Manage gittuf's caching functionality",
Long: "The 'cache' command group contains subcommands to manage gittuf's local persistent cache. The cache is local-only and is not synchronized with remote repositories.",
DisableAutoGenTag: true,
}
cmd.AddCommand(i.New())
cmd.AddCommand(delete.New())
return cmd
}