|
@@ -100,8 +100,7 @@ title: %s
|
|
}
|
|
}
|
|
|
|
|
|
func linkHandler(name string) string {
|
|
func linkHandler(name string) string {
|
|
- base := strings.TrimSuffix(name, path.Ext(name))
|
|
|
|
- return fmt.Sprintf("/docs/cscli/%s", base)
|
|
|
|
|
|
+ return fmt.Sprintf("/cscli/%s", name)
|
|
}
|
|
}
|
|
|
|
|
|
func main() {
|
|
func main() {
|
|
@@ -111,7 +110,8 @@ func main() {
|
|
Short: "cscli allows you to manage crowdsec",
|
|
Short: "cscli allows you to manage crowdsec",
|
|
Long: `cscli is the main command to interact with your crowdsec service, scenarios & db.
|
|
Long: `cscli is the main command to interact with your crowdsec service, scenarios & db.
|
|
It is meant to allow you to manage bans, parsers/scenarios/etc, api and generally manage you crowdsec setup.`,
|
|
It is meant to allow you to manage bans, parsers/scenarios/etc, api and generally manage you crowdsec setup.`,
|
|
- ValidArgs: validArgs,
|
|
|
|
|
|
+ ValidArgs: validArgs,
|
|
|
|
+ DisableAutoGenTag: true,
|
|
/*TBD examples*/
|
|
/*TBD examples*/
|
|
}
|
|
}
|
|
var cmdDocGen = &cobra.Command{
|
|
var cmdDocGen = &cobra.Command{
|