nrwl / nx-console

Nx Console is the user interface for Nx & Lerna.
https://nx.dev
MIT License
1.31k stars 210 forks source link

Add option to copy constructed command to command palette #2235

Open wojd0 opened 1 month ago

wojd0 commented 1 month ago

Description

Add option to copy constructed command to command palette (ex. > Nx: run)

Motivation

Suggested Implementation

There should be a separate option (example label Copy: <command>) added at the last step of job command selection right under the Execute: <command> option that copies constructed command into the clipboard.

Alternate Implementations

Selecting Execute: <command> option while holding a modifier button could perform the same action.

MaxKless commented 1 month ago

It's a valid request! I'll see if I have time to get to it, otherwise I'd gladly accept a contribution here as well :)