Files
kyzzniko-lang 63797ac79c fix(alias): split splitAliasArgs up, gocyclo was at 26
golangci-lint caps cyclomatic complexity at 15. Break the token matcher,
value consumption and numeric validation into their own functions; the
main loop only dispatches now. No behaviour change, tests unchanged.
2026-08-15 13:37:23 +08:00
..
2021-12-27 17:09:13 -06:00
2025-12-31 10:04:27 -06:00
2025-10-04 11:49:32 -07:00
2025-12-31 10:04:27 -06:00

client/command/alias

Overview

Implements the 'alias' command group for the Sliver client console. Handlers map Cobra invocations to alias workflows such as install, load, and remove.

Go Files

  • alias.go – Implements runtime alias management, printing installed aliases and exposing tab-completion helpers.
  • alias_test.go (tests) – Exercises manifest parsing logic to ensure alias metadata is interpreted correctly.
  • commands.go – Wires Cobra commands for listing, installing, loading, and removing aliases into the client console.
  • install.go – Handles installing alias bundles from directories or archives, writing manifests and payload artifacts to disk.
  • load.go – Loads alias manifests, validates target compatibility, and registers commands against the active console.
  • remove.go – Removes installed aliases, prompting for confirmation and deleting associated on-disk assets.