flags

package
v0.16.0 Latest Latest
Warning

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

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

Documentation

Overview

internal/flags/flags.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveWorkspaceID

func ResolveWorkspaceID(flag string, profile config.Profile) string

ResolveWorkspaceID returns the effective workspace ID using priority: flag value → NWEB_WORKSPACE_ID env var → profile workspace_id.

Types

type Global

type Global struct {
	Profile     string
	WorkspaceID string
	Pretty      bool
	Insecure    bool
	NoSave      bool
	ConfigPath  string
	Transport   string
	Verbose     bool
}

Global holds persistent flags available on every command.

Jump to

Keyboard shortcuts

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