Skip to content

Feature: Command Aliases Management & Suggestions #55

Description

@mgd43b

Overview

Track, manage, and suggest aliases for frequently used commands.

Problem

Users create aliases but forget about them, or don't realize they could create useful aliases.

Proposed Solution

Alias management:

  • Track your aliases and their actual commands
  • "Show me all aliases I've used this month"
  • Suggest aliases for frequently typed long commands
  • Auto-generate alias recommendations
  • Export/import alias configs

Examples

# Analyze for alias opportunities
$ sdbh alias suggest
Found 5 commands you type frequently that could be aliased:

1. kubectl get pods -n kube-system (used 42 times)
   Suggested alias: kgp='kubectl get pods'

2. docker-compose up -d && docker-compose logs -f (used 28 times)
   Suggested alias: dcup='docker-compose up -d && docker-compose logs -f'

Create these aliases? (y/N):

# Track alias usage
$ sdbh alias stats
Most used aliases:
1. gst (git status) - 156 times
2. dc (docker-compose) - 89 times
3. k (kubectl) - 234 times

Priority

Medium

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions