You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/10/29 21:28:00 UTC

[jira] [Commented] (RAT-259) Allow configuration of files to be scanned for CLI module

    [ https://issues.apache.org/jira/browse/RAT-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16962475#comment-16962475 ] 

ASF subversion and git services commented on RAT-259:
-----------------------------------------------------

Commit c695ca5e49761bca62c824b05207f01f809b14af in creadur-rat's branch refs/heads/feature/RAT-259 from Hugo Hirsch
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=c695ca5 ]

RAT-259: Extract CLI class


> 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: Improvement
>          Components: cli
>    Affects Versions: 0.13
>            Reporter: Philipp Ottlinger
>            Assignee: Philipp Ottlinger
>            Priority: Major
>
> 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.3.4#803005)