utils

package
v5.18.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package utils provides utility packages for common operations.

This package contains subpackages with utility functions used across the KSail codebase:

  • notify: Formatted message display with symbols, colors, and timing
  • runner: Cobra command execution with output capture
  • timer: Execution time tracking for single and multi-stage operations

These utilities are designed to be simple, focused, and reusable across different parts of the application.

Directories

Path Synopsis
Package notify provides utilities for sending formatted notifications to CLI users.
Package notify provides utilities for sending formatted notifications to CLI users.
Package runner provides helpers for executing Cobra commands while capturing output.
Package runner provides helpers for executing Cobra commands while capturing output.
Package timer provides timing functionality for tracking command execution duration.
Package timer provides timing functionality for tracking command execution duration.

Jump to

Keyboard shortcuts

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