Documentation
¶
Overview ¶
Copyright © 2022 CallanBi <mcbihv@126.com>
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LeetcodeClient *leetcode_client.LeetCodeClient
View Source
var RootCmd = &cobra.Command{
Use: "leetecho-cli",
Short: "A cli tool for Leetecho",
Long: `A cli tool for leetecho.
Leetecho(GUI) is an elegant, experience-friendly product that
automatically generates LeetCode solutions and notes and
publishes them to personal repositories on code hosting platforms.
Leetecho-cli simply implements basic functionality in Leetecho,
such as publishing problems and notes according to
the configured template, login and logout, and
checking updates.
`,
}
rootCmd represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func WipeConfig ¶
func WipeConfig() (ok bool)
Types ¶
type ValidatorMap ¶
func (ValidatorMap) ValidateAll ¶
func (v ValidatorMap) ValidateAll(m *CfgParams) error
Click to show internal directories.
Click to hide internal directories.