Skip to content

Prompt user to install new hooks for new languages detected on commit #493

Open
@JordoHeffernan

Description

@JordoHeffernan

As a SeCurLI user, I want to easily add new languages to my repository
 
So that when I have an existing repo with secureli installed, and I add a new language to the repo (ie add a .js file for the first time) we currently abort their commit until they run secureli init again. A prompt comes up in the CLI but I don't wait for input.

AC

-              When I commit a new language, I am prompted to install new hooks and wait for their response
-              If I input "n" I continue the commit with existing hooks
-              If I input "y" SeCurLI install the new hooks, and then continues the pre-commit process with all installed hooks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • Status

      Discussion Required

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions