Feature/alias command - #9
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.