An abstract command definition helper class for commands that only take a single input file parameter
Value parameters
- name
-
The name of the command
Attributes
- Companion
- object
- Source
- InputFileCommand.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Source
- InputFileCommand.scala
Provide a typesafe/Config reader for the commands options.
Provide a typesafe/Config reader for the commands options. This reader should read an object having the same name as the command. The fields of that object must correspond to the fields of the OPT type.
Attributes
- Returns
-
A pureconfig.ConfigReader[OPT] that knows how to read OPT
- Definition Classes
- Source
- InputFileCommand.scala
Inherited methods
Attributes
- Inherited from:
- Command
- Source
- Command.scala
Attributes
- Inherited from:
- Command
- Source
- Command.scala
Attributes
- Inherited from:
- Command
- Source
- Command.scala
Attributes
- Inherited from:
- Command
- Source
- Command.scala
Attributes
- Inherited from:
- Command
- Source
- Command.scala
Attributes
- Inherited from:
- Command
- Source
- Command.scala
Attributes
- Inherited from:
- Command
- Source
- Command.scala
Execute the command given the options.
Execute the command given the options. Error should be returned as Left(messages) and not directly logged. The log is for verbose or debug output
Value parameters
- options
-
The command specific options
Attributes
- Returns
-
Either a set of Messages on error or a Unit on success
- Inherited from:
- Command
- Source
- Command.scala
Inherited and Abstract methods
Provide a scopt OParser for the commands options type, OPT
Provide a scopt OParser for the commands options type, OPT
Attributes
- Returns
-
A pair: the OParser and the default values for OPT
- Inherited from:
- Command
- Source
- Command.scala
Inherited fields
Attributes
- Inherited from:
- Command
- Source
- Command.scala
Attributes
- Inherited from:
- Command
- Source
- Command.scala