class SyntaxTree::CLI::Match

would match the input given.
An action of the CLI that outputs a pattern-matching Ruby expression that

def run(item)

def run(item)
  puts item.handler.parse(item.source).construct_keys
end