Skip to content

Add support for Tag Expressions #1003

@aslakhellesoy

Description

@aslakhellesoy

Summary

Tag Expressions is a more intuitive way to specify tags in tagged hooks and on the command line's --tags argument.

Expected Behavior

Tagged Hooks should accept a single string:

Before("@foo and not @bar") do
end

Likewise, the --tags command line argument should allow the same. (Specifying it more than once should cause an error)

--tags "@foo and not @bar"

Context & Motivation

The current mechanism to specify or with comma and and with multiple --tags is incredibly awkward. Tag Expressions are intuitive!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions