mirror of
https://github.com/vee1e/gittuf.git
synced 2026-09-04 11:47:09 +00:00
24 lines
666 B
Go
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
|
|
}
|