Skip to content

Add CLI shortcuts for translate and write commands #12

Closed

Description

@komape

Problem

When using the CLI repeatedly, having to type out translate every time becomes tedious. Since translation and writing are the most common actions, it would be helpful to have shorter command aliases to speed things up and make the CLI more ergonomic.

Solution

Add short aliases for the most frequently used commands:

  • t as a shortcut for translate
  • w as a shortcut for write

Example usage:

deepl t 'Hello World'
deepl w 'Hello World'

Activity

  1. sjsyrek commented on Jul 29, 2026

    @sjsyrek
    Member

    Hi @komape first off, apologies for how long this sat open. It was filed back in February and deserved a quicker answer; thank you for the suggestion and for your patience.

    Good news: this is now implemented (#110). deepl t and deepl w are aliases for translate and write, exactly as you proposed. They show up in --help and in the bash/zsh/fish shell completions. This ships in v2.0.0, the first public npm release (@deepl/cli), which is imminent.

    Thanks again for the request!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions