Get name of current affected app
See original GitHub issueDiscussed in https://github.com/nrwl/nx/discussions/12352
<div type='discussions-op-text'>Originally posted by dan-cooke September 30, 2022
I want to tag a docker image using nx affected --target=docker --tags=myrepo.io/{APP}
How can I get the current APP being executed by nx affected. I swore lerna had something for this, but I can’t quite find it.
Any ideas?</div>
Creating an issue because I really don’t see any way of achieving this without creating a custom docker executor, which seems wasteful as there already exists a great community executor.
It would be useful for performing dynamic commands based on the name of the currently affected app
Issue Analytics
- State:
 - Created a year ago
 - Comments:6 (6 by maintainers)
 
Top Results From Across the Web
How to get the name of the application in android?
You can use PackageItemInfo -> nonLocalizedLabel to get application name. val applicationName = context.applicationInfo.nonLocalizedLabel.toString() ...
Read more >Manage app info from your devices - Android - Google Support
Under "Google-wide controls," tap App info from your devices. Turn on App info from your devices. Note: This setting does not affect the...
Read more >Name or change the name of your application
Creating an alias for the app name only changes how the app name appears in the New Relic UI. Changing the alias does...
Read more >Your iOS App Name Also Affects App Engagement
Learn how your iOS app name can influence the amount of engagement that your app gets. This in turn can affect your App...
Read more >Behavior changes: Apps targeting Android 13 or higher
Learn about changes in Android 13 that will affect apps when they target Android 13 or higher.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This seems simple enough, we could add NX_PROJECT_NAME as an env variable in the forked process for each executor pretty easily I think ™️…
Implementation of custom executor
dockercould use executorContext to get project name.