Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "expose", Short: "Control ngrok dameon with simple CLI commands", PersistentPreRunE: func(cmd *cobra.Command, args []string) error { client = ngrok2.New() baseURL, err := cmd.Flags().GetString("api-base") if err != nil { return err } client.BaseURL = baseURL return nil }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.