Introduce aliases for commands (and ability to specify aliases for document types) to streamline usage and reduce typing effort, making dodl quicker and easier to use.
Motivation
As dodl grows, users may frequently rely on certain commands and document types. Providing shorthand aliases allows users to interact with dodl more efficiently, improving the overall experience by reducing repetitive typing and making commands more intuitive.
Proposed Solution
Implement commonly used aliases for:
Document Types: For instance, "standup" could have an alias "su" if it’s commonly used.
Commands: Key commands could also have shorthand options, such as using dodl c as an alias for dodl create (or even dodl generate if people prefer that terminology rather than create).
The aliases should be easy to remember and ideally configurable by users in their settings (in cases like doctypes). Aliases should appear in help documentation to ensure visibility.
Alternatives Considered
Full Command/Document Names Only: Keeping full names might maintain clarity but would lack the convenience that aliases bring, especially for repetitive or long commands.
Doctype inheritance: Potentially the doctype inheritance issue will cover aliases for doctypes - in some way - but it might also be good to have doctypes inherit other aliases, even?
Additional Context
Implementing aliases will also support consistency with future autocompletion features, helping users quickly locate common commands and document types.
Checklist
[x] I have checked existing issues to ensure this feature has not been requested.
[x] I have considered the potential impact on existing functionality.
Summary
Introduce aliases for commands (and ability to specify aliases for document types) to streamline usage and reduce typing effort, making
dodl
quicker and easier to use.Motivation
As
dodl
grows, users may frequently rely on certain commands and document types. Providing shorthand aliases allows users to interact withdodl
more efficiently, improving the overall experience by reducing repetitive typing and making commands more intuitive.Proposed Solution
Implement commonly used aliases for:
dodl c
as an alias fordodl create
(or evendodl generate
if people prefer that terminology rather than create).The aliases should be easy to remember and ideally configurable by users in their settings (in cases like doctypes). Aliases should appear in help documentation to ensure visibility.
Alternatives Considered
Additional Context
Implementing aliases will also support consistency with future autocompletion features, helping users quickly locate common commands and document types.
Checklist