alias

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package alias implements the `clawker alias` command group: user-defined command shortcuts stored in the project config, expanded before execution.

Active aliases are the merged aliases key across every project config layer: walk-up files, the user config-dir clawker.yaml (base file layer), and shipped defaults. `alias set` writes the user config-dir file, `alias export` publishes into the most local walk-up file, and `alias delete` removes an entry from every file that defines it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAlias

func NewCmdAlias(f *cmdutil.Factory, validCommand shared.ValidCommandFunc) *cobra.Command

NewCmdAlias creates the `clawker alias` command group. validCommand reports whether a name belongs to a real (non-alias) clawker command; the root command wires it after the full command tree is built.

Types

This section is empty.

Directories

Path Synopsis
Package shared holds domain logic used by multiple alias subcommands: alias name and expansion validation, and the shipped-default lookup.
Package shared holds domain logic used by multiple alias subcommands: alias name and expansion validation, and the shipped-default lookup.

Jump to

Keyboard shortcuts

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