Commits

Edi Weissmann committed d2cf2e4

close #50: remove version and compress options specific to pdf output from the text output command extracttext

  • Participants
  • Parent commits 8fc1fe0

Comments (0)

Files changed (2)

File sejda-console/src/main/java/org/sejda/cli/model/CliArgumentsWithTextAndDirectoryOutput.java

+/*
+ * Created on Aug 22, 2011
+ * Copyright 2010 by Eduard Weissmann (edi.weissmann@gmail.com).
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License"); 
+ * you may not use this file except in compliance with the License. 
+ * You may obtain a copy of the License at 
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0 
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License. 
+ */
+package org.sejda.cli.model;
+
+/**
+ * 
+ * Base interface for specifying of the command line interface for tasks that have output configured as a directory and format as text
+ * 
+ * @author Eduard Weissmann
+ * 
+ */
+public interface CliArgumentsWithTextAndDirectoryOutput extends CliArgumentsWithDirectoryOutput {
+
+}

File sejda-console/src/main/java/org/sejda/cli/model/ExtractTextTaskCliArguments.java

  * 
  */
 @CommandLineInterface(application = TaskCliArguments.EXECUTABLE_NAME + " extracttext")
-public interface ExtractTextTaskCliArguments extends CliArgumentsWithPdfAndDirectoryOutput,
+public interface ExtractTextTaskCliArguments extends CliArgumentsWithTextAndDirectoryOutput,
         CliArgumentsWithPrefixableOutput {
 
     @Option(shortName = "e", description = "text encoding, default is UTF-8 (optional)", defaultValue = "UTF-8")