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

Dynamic Shortcut Generation: Generate shortcuts dynamically based on your project structure. #4

Open
StevenSchoening opened this issue Aug 30, 2023 · 6 comments
Assignees

Comments

@StevenSchoening
Copy link

StevenSchoening commented Aug 30, 2023

How can i use the Dynamic Shortcut Generation?
i want to have multiple commands generated depending on folders in a directory.
The folder names are used in the commands.

nx run 'projectName':dev

in the documentation i didnt find anything.
thanks for the help!

@Vacxe
Copy link
Owner

Vacxe commented Sep 18, 2023

@StevenSchoening we can add some internal tooling replacements.
For example:

%%folder.absolutePath%% and %%folder.name%%

Sounds good?

@Vacxe
Copy link
Owner

Vacxe commented Sep 18, 2023

But will be nice to see your vision of feature design and what you what to achieve

@StevenSchoening
Copy link
Author

StevenSchoening commented Sep 18, 2023

@StevenSchoening we can add some internal tooling replacements. For example:

%%folder.absolutePath%% and %%folder.name%%

Sounds good?

yes that would be helpful thanks! :)
can you add an example to the documentation?

if i use the path he would create as many commands as there are folders inside of the path?
like five different folders and for each a command with the name of the folder

@Vacxe
Copy link
Owner

Vacxe commented Sep 27, 2023

@StevenSchoening I guess you talking about "Matrix" implementation for commands

Yea, I will prepare a new release when will found some free time for coding.

@dineshvg
Copy link

Looking forward for the change

@Vacxe Vacxe self-assigned this Nov 8, 2023
@Vacxe
Copy link
Owner

Vacxe commented Nov 8, 2023

@dineshvg @StevenSchoening will take a look soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants