Skip to content

Add a snipOrCopy CLI command #152

@dacharyc

Description

@dacharyc

For a new use case, we would like to have Bluehawk operate on an input directory and take some action for every file in that input directory. If it has Bluehawk tags, we would like it to snip the file. If it does not have Bluehawk tags, we would like it to copy the file. (i.e. in the case of json where we cannot add Bluehawk tags, but we still want the file to copy to the output directory.)

This command should respect the ignore flag - i.e. we only want to take actions on files in non-ignored directories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions