@feature('command')
def feature_command(tgen):
    cmd_dir = tgen.make_node(tgen.worch.command_dir)
    cmd_node = cmd_dir.make_node(tgen.worch.command_cmd)
    cmd_target = tgen.worch.command_target
    if cmd_target:
        map(tgen.make_node, tgen.to_list(cmd_target))
    cmd_rule = '{command_cmd_prefix}{command_cmd} {command_cmd_options} {command_cmd_postfix}'
    tgen.step('command',
              rule = tgen.worch.format(cmd_rule),
              source = cmd_node,
              target = cmd_target or "",
              cwd = cmd_dir.abspath())

    return
Attempt to comment out all lines in ``filename`` matching ``regex``.
dataset/ETHPy150Open hwaf/hwaf/py-hwaftools/orch/features/feature_command.py/feature_command--crossover with--dataset/ETHPy150Open fabric/fabric/fabric/contrib/files.py/comment