static

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppUsage = "All in one tools for CloudWeGo"

	ServerName  = "server"
	ServerUsage = `` /* 270-byte string literal not displayed */

	ClientName  = "client"
	ClientUsage = `` /* 270-byte string literal not displayed */

	ModelName  = "model"
	ModelUsage = `` /* 171-byte string literal not displayed */

	DocName  = "doc"
	DocUsage = `generate doc model

Examples:
  # Generate doc model code
  cwgo doc --name mongodb --idl {{path/to/IDL_file.thrift}}
`

	ApiListName = "api-list"
	ApiUsage    = `analyze router codes by golang ast

Examples:
  cwgo api --project_path ./
`
	JobName  = "job"
	JobUsage = `generate job code

Examples:
	cwgo job --job_name jobOne --job_name jobTwo --module my_job
`
	FallbackName  = "fallback"
	FallbackUsage = "fallback to hz or kitex"

	CompletionName  = "completion"
	CompletionUsage = "Generate the autocompletion script for hugo for the specified shell"

	CompletionZshName  = "zsh"
	CompletionZshUsage = "Generate the autocompletion script for zsh"

	CompletionBashName  = "bash"
	CompletionBashUsage = "Generate the autocompletion script for bash"

	CompletionPowershellName  = "powershell"
	CompletionPowershellUsage = "Generate the autocompletion script for powershell"
)

Variables

This section is empty.

Functions

func Init

func Init() *cli.App

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL