create

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package create implements `profile create NAME`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(f *factory.Factory, runF func(*Options) error) *cobra.Command

NewCmdCreate builds the `profile create NAME` cobra command.

Types

type Options

type Options struct {
	Name          string // Args[0]
	Hostname      string // --hostname (required)
	Token         string // --token (required)
	User          string // --user
	AuthUser      string // --auth-user
	SkipTLSVerify bool   // --skip-tls
	BackendType   string // --backend
	GitProtocol   string // --git-protocol
}

Options holds parsed flags for `profile create`.

Jump to

Keyboard shortcuts

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