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

Consider providing the current context path of "dotnet new" as a bound symbol #7471

Open
egvijayanand opened this issue Jan 17, 2024 · 2 comments
Labels
area: authoring Enhancements to the process of authoring, maintaining, and testing templates

Comments

@egvijayanand
Copy link

Is your feature request related to a problem? Please describe.

Consider providing the current context path of "dotnet new" as a bound symbol.

This is necessary for certain evaluations like relative path.

Describe the solution you'd like.

A bound symbol, similar to bind:HostIdentifier.

Additional context

CLI templating symbols that are defined in the file template.json.

@baronfel
Copy link
Member

This makes perfect sense to me -would you be interested in adding this bound symbol?

@baronfel baronfel added the area: authoring Enhancements to the process of authoring, maintaining, and testing templates label Jan 17, 2024
@egvijayanand
Copy link
Author

@baronfel Have added a PR for this. Hope this is the necessary change.

Kindly let me know your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: authoring Enhancements to the process of authoring, maintaining, and testing templates
Projects
None yet
Development

No branches or pull requests

2 participants