Skip to content

Implement Rake task tab expansion #10

@AnthonyMastrean

Description

@AnthonyMastrean

In whichever tab completion style is modern/supported

# powertab-ish
if(Test-Path Function:Register-TabExpansion) {
  Register-TabExpansion -Name 'rake' -Type Command -Handler {
    rake -T | %{ $_ -match '(^rake)(?<task>.*)(#.*)' } | %{ $matches['task'] } | %{ $_.Trim() }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions