/
githubmirror
/
LeetCode-Go
Обзор
Документация
Войти
/
githubmirror
/
LeetCode-Go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
1.7.97
ctl/refresh.go
25 строк
453 B
halfrost
add new pdf version
28 июн 2026, 09:46
28 июн 2026, 09:46
fb26e8e
Код
Авторство
О чём код?
package main import ( "github.com/spf13/cobra" ) func newRefresh() *cobra.Command { cmd := &cobra.Command{ Use: "refresh", Short: "Refresh all document", Run: func(cmd *cobra.Command, args []string) { refresh() }, } // cmd.Flags().StringVar(&alias, "alias", "", "alias") // cmd.Flags().StringVar(&appId, "appid", "", "appid") return cmd } func refresh() { //buildBookMenu() copyLackFile() buildREADME() buildChapterTwo(true) }