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 ¶
NewRootCmd creates the top-level work command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.