Skip to content

Bypassing the question: Do you want to run this action [Y(yes)|N(no)]? #8399

@granitbunjaku

Description

@granitbunjaku

I need to execute a script after a project is created with that template. So, I added that script as postAction and it works fine but I'm facing a problem that when I create the project using dotnet new it asks me for confirmation if I want to run the action:

photo

Can I somehow bypass this and always run the actions? cause when I create the project using rider or vs, I can't specify this answer (yes or no) as this happens during the creation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions