desc corrections
This commit is contained in:
@@ -15,8 +15,8 @@ func init() {
|
||||
|
||||
var deleteCmd = &cobra.Command{
|
||||
Use: "delete",
|
||||
Short: "Print the version number of Hugo",
|
||||
Long: `All software has versions. This is Hugo's`,
|
||||
Short: "Delete cache by key",
|
||||
Long: `Delete cache by key`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
repo, _ := cmd.Flags().GetString("repo")
|
||||
branch, _ := cmd.Flags().GetString("branch")
|
||||
@@ -31,7 +31,7 @@ func getDeleteHelp() string {
|
||||
gh-actions-cache: Works with GitHub Actions Cache.
|
||||
|
||||
USAGE:
|
||||
gh actions-cache lisy [flags]
|
||||
gh actions-cache delete <key> [flags]
|
||||
|
||||
ARGUMENTS:
|
||||
key cache key which needs to be deleted
|
||||
|
||||
@@ -18,8 +18,8 @@ func init() {
|
||||
|
||||
var listCmd = &cobra.Command{
|
||||
Use: "list",
|
||||
Short: "Print the version number of Hugo",
|
||||
Long: `All software has versions. This is Hugo's`,
|
||||
Short: "Lists the actions cache",
|
||||
Long: `Lists the actions cache`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
repo, _ := cmd.Flags().GetString("repo")
|
||||
branch, _ := cmd.Flags().GetString("branch")
|
||||
@@ -40,7 +40,7 @@ func getListHelp() string {
|
||||
gh-actions-cache: Works with GitHub Actions Cache.
|
||||
|
||||
USAGE:
|
||||
gh actions-cache lisy [flags]
|
||||
gh actions-cache list [flags]
|
||||
|
||||
ARGUMENTS:
|
||||
No Arguments
|
||||
|
||||
@@ -21,7 +21,6 @@ func Execute() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
|
||||
rootCmd.SetHelpTemplate(getRootHelp())
|
||||
}
|
||||
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/t-dedah/gh-actions-cache
|
||||
module github.com/actions/gh-actions-cache
|
||||
|
||||
go 1.18
|
||||
|
||||
|
||||
Reference in New Issue
Block a user