Documentation ¶
Overview ¶
Package clicore extends package cli by generating Cogent Core GUIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run runs the given app with the given default configuration file paths. It is similar to cli.Run, but it also runs the GUI if no arguments were provided. The app should be a pointer, and configuration options should be defined as fields on the app type. Also, commands should be defined as methods on the app type with the suffix "Cmd"; for example, for a command named "build", there should be the method:
func (a *App) BuildCmd() error
Run uses os.Args for its arguments.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.