eza-community / eza-community/eza

feat: Allow abbreviations for long option names

Open
#976 1 comment 0 reactions 0 assignees View on GitHub
area: arguments type: feature
Dominant language
Rust
Stars
23.3k
Forks
523
PR merge metrics
No merged PRs in 30d

Description

eza is one of those commands that can be invoked often. As such, it is important to optimize it for minimal number of key strokes, IMO.

One way to do it is to allow for abbreviation long option names, as long as they are unambiguous. For example `eza --abs` should be equivalent to `eza --absolute`, as long as there are no other long options that start with "abs". Same with `eza --ab`, `eza --abso` etc...

Currently, "unknown argument" error is thrown.

This is especially important for those options that only have long names. I imagine there will be more such options in the future, so it will be getting more important with time.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.