internal/

directory
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: Apache-2.0

README

cmd/internal

This directory contains internal packages for KSail's CLI commands.

Purpose

Houses internal utilities and helper packages that are used by KSail's CLI command implementations. These packages provide common functionality that is shared across different commands to ensure consistency and reduce code duplication.

Features

  • Command Helpers: Utilities for common CLI command patterns
  • Internal Use: Not intended for external consumption
  • Consistency: Ensures consistent behavior across all CLI commands
  • Code Reuse: Reduces duplication in command implementations

Packages

  • cmd/internal/utils/ - Helper utilities for CLI command implementation
  • testutils/ - Testing utilities for CLI commands

Usage

These packages are for internal use within KSail's CLI implementation:

import helpers "github.com/devantler-tech/ksail-go/cmd/internal/helpers"

// Internal usage within CLI commands
cmd := helpers.NewCobraCommand(...)

Note: Packages in cmd/internal/ are implementation details and may change without notice. External applications should not depend on these packages directly.


⬅️ Go Back

Directories

Path Synopsis
Package shared provides reusable helpers for command wiring.
Package shared provides reusable helpers for command wiring.
Package testutils provides testing helpers for command testing (command-layer specific).
Package testutils provides testing helpers for command testing (command-layer specific).

Jump to

Keyboard shortcuts

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