cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Overview

Package cmd implements all CLI commands for the work tool.

Testing: do NOT use t.Parallel() in tests within this package. Several package-level function variables (autoUpdateFunc, openURLFunc, openFileFunc) are swapped during tests. Parallel execution causes data races because multiple tests would read/write these shared variables concurrently.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCmd

func NewRootCmd(version string) *cobra.Command

NewRootCmd creates the top-level work command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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