php-plantumlwriter icon indicating copy to clipboard operation
php-plantumlwriter copied to clipboard

Add filter option to command

Open Bladrak opened this issue 9 years ago • 1 comments

The option can be used as:

bin/php-plantumlwriter write /my/src/directory --filter="*.php" --filter="\!*Test.php" 

The escape '' is required for some shells

Bladrak avatar Mar 17 '15 09:03 Bladrak

This might resolve #3. But I do not like the filter inversion. How does it handle files actually starting with the exclamation mark (!)? I'd prefer something with separate options (like "--include" and "--exclude") similar to ant's fileset (https://ant.apache.org/manual/Types/fileset.html).

davidfuhr avatar Mar 18 '15 11:03 davidfuhr