cmdauth

package
v1.0.43575-pre Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthCmd

func NewAuthCmd() *cobra.Command

NewAuthCmd returns the "circleci auth" command group.

func SignupIfNeeded

func SignupIfNeeded(ctx context.Context, noBrowser, secureStorage bool, configPath string) error

SignupIfNeeded is the idempotent variant of signup used by orchestrators like `circleci onboard`. If a valid token already exists, it prints a confirmation and returns nil. Otherwise it runs the standard signup flow.

Types

This section is empty.

Jump to

Keyboard shortcuts

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