[
https://issues.apache.org/jira/browse/RAT-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894998#comment-17894998
]
Claude Warren commented on RAT-259:
-----------------------------------
[~potiuk]
Would you please download the latest RAT-0.17-SNAPSHOT and verify that it meets
your requirements.
There are a number of changes to the include/exclude options Please run
"–help" for a list of all the various include/exclude options and parameters
available for commands. For the simplest case I think the following command
line options will suffice:
* --input-exclude "**"
* --input-include-file <file with file name to scan>
Please let me know if this meets your requirements so that I can close this
issue.
> Allow configuration of files to be scanned for CLI module
> ---------------------------------------------------------
>
> Key: RAT-259
> URL: https://issues.apache.org/jira/browse/RAT-259
> Project: Apache Rat
> Issue Type: Sub-task
> Components: Client - cli
> Affects Versions: 0.13
> Reporter: Philipp Ottlinger
> Assignee: Claude Warren
> Priority: Major
> Labels: documentation-update
> Time Spent: 10m
> Remaining Estimate: 0h
>
> After talks at ApacheCon 2019 in Berlin [~higrys][~potiuk] asked for a
> possibility to specify the files that need to be scanned.
> This could be added as a new CLI option that specifies a file to read from.
> Each line will contain one file that RAT scans with its default configuration
> (as the current CLI scan does).
> Thus a possible run would be:
> {code}
> java -jar rat.jar -scan myfiles.txt
> {code}
> "-scan" will be an exclusive option, thus all other existing
> exclusions options will not be allowed, when this option is used.
> myfile.txt may contain comments (starting with "#") or empty lines, all else
> will be treated as files.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)