Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run nx commands with argument in Intellij Idea Run Anything #1890

Open
wladimirguerra opened this issue Sep 27, 2023 · 1 comment
Open

Run nx commands with argument in Intellij Idea Run Anything #1890

wladimirguerra opened this issue Sep 27, 2023 · 1 comment
Assignees
Labels
type: feature New feature or request

Comments

@wladimirguerra
Copy link

wladimirguerra commented Sep 27, 2023

Description

I would like to run a nx command throug Run Anything with additional args.
Eg:

nx run post-api:create-migration --args="--name=MigrationName"

Currently ALL args (not only --args) added to the command are ignored.

It seems that the run anything runs an auto-generated configuration.

Motivation

I wan to run nx commands that takes args (Eg: {args.name}) from the run anything interface instead of typing the command in the terminal.

Suggested Implementation

Accept arguments from Run Anything command interface.

Alternate Implementations

Allow the use of the $Prompt$ keyword within the Arguments field at the nx run configuration, just like it works in the Arguments field at the npm run configuration.

@wladimirguerra wladimirguerra added the type: feature New feature or request label Sep 27, 2023
@wladimirguerra wladimirguerra changed the title Run nx commands with argument in Intellij Idea Run nx commands with argument in Intellij Idea Run Anything Sep 27, 2023
@MaxKless MaxKless self-assigned this Oct 12, 2023
@MaxKless
Copy link
Collaborator

Sorry I forgot to respond to this. You're right the implementation is broken, I'll work on fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants