diff --git a/helper/README.md b/helper/README.md index c01e83636..0b90a3c9f 100644 --- a/helper/README.md +++ b/helper/README.md @@ -13,14 +13,9 @@ leetcode is a tool for managing leetcode source code. Usage: leetcode [arguments] The commands are: - readme build README.md file - page build index.md file - tag build all tags file - helper build helper file question build problem solution file open open a problem solution in browser test run go test - description build all problems description file update update or upgrade self clean remove cached files version print leetcode version diff --git a/internal/description/description.go b/internal/description/description.go index 01f445d07..fa1c5ab9f 100644 --- a/internal/description/description.go +++ b/internal/description/description.go @@ -15,6 +15,7 @@ var CmdDescription = &base.Command{ UsageLine: "description", Short: "build all problems description file", Long: "build all problems README.md file.", + Hidden: true, } func runDescription(cmd *base.Command, args []string) { diff --git a/internal/helper/helper.go b/internal/helper/helper.go index 2c5c3f005..facf53f81 100644 --- a/internal/helper/helper.go +++ b/internal/helper/helper.go @@ -14,6 +14,7 @@ var CmdHelper = &base.Command{ UsageLine: "helper", Short: "build helper file", Long: "build helper README.md file.", + Hidden: true, } func runHelper(cmd *base.Command, args []string) { diff --git a/internal/page/page.go b/internal/page/page.go index 0375d9fbd..5766b7e68 100644 --- a/internal/page/page.go +++ b/internal/page/page.go @@ -12,6 +12,7 @@ var CmdPage = &base.Command{ UsageLine: "page", Short: "build index.md file", Long: "build page file(index.md).", + Hidden: true, } func runPage(cmd *base.Command, args []string) { diff --git a/internal/readme/readme.go b/internal/readme/readme.go index 9b906dfa9..c5c669445 100644 --- a/internal/readme/readme.go +++ b/internal/readme/readme.go @@ -31,6 +31,7 @@ var CmdReadme = &base.Command{ UsageLine: "readme", Short: "build README.md file", Long: "build README.md file.", + Hidden: true, } var ( diff --git a/internal/tag/tag.go b/internal/tag/tag.go index 6ceb295a1..d5581f9c2 100644 --- a/internal/tag/tag.go +++ b/internal/tag/tag.go @@ -17,6 +17,7 @@ var CmdTag = &base.Command{ UsageLine: "tag", Short: "build all tags file", Long: "build all tags README.md file.", + Hidden: true, } func runTag(cmd *base.Command, args []string) {