{"modulePath":"github.com/algolia/cli","version":"v1.18.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package selectapp\n\n## Functions\n\n```go\nfunc NewSelectCmd(f *cmdutil.Factory) *cobra.Command\n```\n\n```go\nfunc Run(f *cmdutil.Factory) (*dashboard.Application, error)\n```\nRun executes the interactive application-selection flow and returns the chosen application. Other commands (e.g. open) use it to ensure an application is selected before proceeding. A nil application is returned when the account has no applications.\n\n## Types\n\n```go\ntype SelectOptions struct {\n\tIO     *iostreams.IOStreams\n\tConfig config.IConfig\n\n\tAppID   string\n\tAppName string\n\n\t// NonInteractive disables every prompt and defaults the output to JSON, so\n\t// the command is usable from scripts.\n\tNonInteractive bool\n\n\tPrintFlags *cmdutil.PrintFlags\n\n\tNewDashboardClient func(clientID string) *dashboard.Client\n}\n```\n\n","path":"github.com/algolia/cli/pkg/cmd/application/selectapp","name":"selectapp","synopsis":"","isRedistributable":true}
