desc corrections

This commit is contained in:
t-dedah
2022-06-13 11:40:06 +05:30
parent 5593cd0b39
commit d11a35a605
5 changed files with 8 additions and 13 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -21,7 +21,6 @@ func Execute() {
}
func init() {
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
rootCmd.SetHelpTemplate(getRootHelp())
}

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/t-dedah/gh-actions-cache
module github.com/actions/gh-actions-cache
go 1.18

View File

@@ -1,10 +1,6 @@
/*
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
*/
package main
import "github.com/t-dedah/gh-actions-cache/cmd"
import "github.com/actions/gh-actions-cache/cmd"
func main() {
cmd.Execute()