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

General: add ability to pass additional command line arguments for Startup project #65

Closed
seclerp opened this issue Feb 15, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request priority-2 Second priority issues
Milestone

Comments

@seclerp
Copy link
Member

seclerp commented Feb 15, 2022

dotnet ef allows to pass command-line arguments after special -- mark directly to the startup application or IDesignTimeFactory:

dotnet ef database update -- --environment Production

Need to add the ability to set custom command-line arguments from dialogs.

Use case: passing some development environment info.

⚠️ Feature is supported starting from EF Core 5.0.

https://docs.microsoft.com/en-us/ef/core/cli/dotnet#aspnet-core-environment

@seclerp seclerp added the enhancement New feature or request label Feb 15, 2022
@seclerp seclerp added this to the Future milestone Feb 15, 2022
@seclerp seclerp changed the title General: add ability to pass additional command line arguments General: add ability to pass additional command line arguments for Startup project Feb 15, 2022
@marchy
Copy link

marchy commented Apr 4, 2022

+1 This is extremely important for any production-grade application – where you are running migrations against multiple environments.

Please do add this as an additional text-field in the dialog GUI.

The tool is a great start, but it is otherwise preventing us from making use of it in any way.
EF Core UI

@seclerp seclerp modified the milestones: Future, 1.4.0 Apr 4, 2022
@seclerp seclerp added the priority-2 Second priority issues label Apr 4, 2022
@seclerp seclerp self-assigned this Apr 4, 2022
@seclerp seclerp modified the milestones: 1.4.0, Future May 5, 2022
@seclerp seclerp modified the milestones: Future, 222.1.0 Jun 22, 2022
seclerp added a commit that referenced this issue Jun 22, 2022
seclerp added a commit that referenced this issue Jun 22, 2022
* Progress with new dotnet tooling observable

* Progress with refactoring

* Improvements for missing EF Core Tools notification

* Finish #65, #61 and #84, complete refactoring

* Fix build, adjust CHANGELOG and build pipelines variables

* Fix build once more
@seclerp seclerp closed this as completed Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-2 Second priority issues
Projects
None yet
Development

No branches or pull requests

2 participants