[
https://issues.apache.org/jira/browse/DOXIATOOLS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896883#comment-17896883
]
ASF GitHub Bot commented on DOXIATOOLS-88:
------------------------------------------
kwin commented on code in PR #85:
URL:
https://github.com/apache/maven-doxia-converter/pull/85#discussion_r1835347247
##########
src/main/java/org/apache/maven/doxia/cli/CLIManager.java:
##########
@@ -93,6 +95,10 @@ class CLIManager {
.desc("Input file or directory.")
.hasArg()
.build());
+ OPTIONS.addOption(Option.builder(REMOVE_IN)
+ .longOpt("removeInputAfterConversion")
+ .desc("Whether to remove the input file(s) after successfull
conversion")
Review Comment:
Fixed in
https://github.com/apache/maven-doxia-converter/pull/85/commits/425bf865d82c871189f146be5c64a75d0d5bf93f.
> Optionally remove input files after conversion
> ----------------------------------------------
>
> Key: DOXIATOOLS-88
> URL: https://issues.apache.org/jira/browse/DOXIATOOLS-88
> Project: Maven Doxia Tools
> Issue Type: Improvement
> Components: Doxia Converter
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: doxia-converter-1.4
>
>
> Currently if a directory is given to the {{in}} parameter it is only read.
> However usually after conversion you want to remove the original input files.
> There should be a dedicated flag which allows to achieve that automatically.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)