Skip to content

Feature/alias command - #9

Merged
YoungMayor merged 3 commits into
mainfrom
feature/alias-command
Nov 24, 2025
Merged

Feature/alias command#9
YoungMayor merged 3 commits into
mainfrom
feature/alias-command

Conversation

@YoungMayor

Copy link
Copy Markdown
Contributor

No description provided.

Refactors alias management into a dedicated file (alias.go), introduces a new alias_check.go for listing and clearing shell aliases, and adds a new 'alias-self' command for system-level aliasing. Adds interactive subcommands for alias CRUD, enable/disable, popular alias addition, and shell registration. Replaces repeated PIN confirmation logic with a reusable ConfirmWithPIN helper. Updates related commands to use the new confirmation flow and improves code organization.
Introduces a new GetPopularAliases function in a dedicated file to provide a comprehensive set of popular aliases for Git, Docker, System, Go, Node, and Yarn. Refactors the alias add-popular command to use this new function. Updates documentation and changelog to reflect enhanced alias management, new subcommands, and command renames. Bumps CLI version to 1.1.0.
Replaces direct calls to f.Close() with error-ignored closures in alias.go for improved error handling consistency. Removes the unused generatePIN function and related imports from alias_check.go to clean up the codebase.
@YoungMayor
YoungMayor merged commit 74b25b4 into main Nov 24, 2025
1 check passed
@YoungMayor
YoungMayor deleted the feature/alias-command branch November 24, 2025 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant