io
.
jobial
.
sclap
.
impl
.
picocli
PicocliCommandLineParser
Related Doc:
package picocli
trait
PicocliCommandLineParser
extends
AnyRef
An implementation of the Sclap command line parser using Picocli.
Self Type
PicocliCommandLineParser
with
CommandLineParserDsl
with
Logging
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
PicocliCommandLineParser
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case class
CommandLineExecutionContext
(
command:
Command
,
paramCounter:
Int
=
0
,
subcommandParsed:
Option
[
IO
[
Any
]] =
None
)
extends
Product
with
Serializable
type
CommandLineExecutionState
[
A
]
=
IndexedStateT
[
Eval
, (
PicocliCommandLineParser
.this)#
CommandLineExecutionContext
, (
PicocliCommandLineParser
.this)#
CommandLineExecutionContext
,
A
]
case class
CommandLineParsingContext
(
command:
Command
=
Command()
,
picocliCommandSpec:
CommandSpec
=
PicocliCommandSpec.create
,
subcommand:
Boolean
=
false
)
extends
Product
with
Serializable
type
CommandLineParsingState
[
A
]
=
IndexedStateT
[
Eval
, (
PicocliCommandLineParser
.this)#
CommandLineParsingContext
, (
PicocliCommandLineParser
.this)#
CommandLineParsingContext
,
A
]
class
ExceptionHandler
extends
DefaultExceptionHandler
[
Try
[_]]
class
Handler
extends
AbstractParseResultHandler
[
Try
[
ParseResult
]]
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
defaultCommandName
:
Option
[
String
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
executeCommandLine
[
A
]
(
commandLine:
CommandLine
[
A
]
,
context: (
PicocliCommandLineParser
.this)#
CommandLineParsingContext
,
args:
Seq
[
String
]
,
out:
PrintStream
,
err:
PrintStream
,
subcommand:
Boolean
=
false
)
:
IO
[
A
]
def
executeCommandLine
[
A
]
(
commandLine:
CommandLine
[
A
]
,
args:
Seq
[
String
]
,
picocliOut:
PrintStream
,
picocliErr:
PrintStream
)
:
IO
[
A
]
def
executeCommandLine
[
A
]
(
commandLine:
CommandLine
[
A
]
,
args:
Seq
[
String
]
)
:
IO
[
A
]
def
executionCompiler
(
args:
Seq
[
String
]
,
context: (
PicocliCommandLineParser
.this)#
CommandLineParsingContext
,
picocliOut:
PrintStream
,
picocliErr:
PrintStream
)
:
~>
[
CommandLineArgSpecA
, (
PicocliCommandLineParser
.this)#
CommandLineExecutionState
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
normalizeOptName
(
name:
String
,
command:
Command
)
:
String
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
parse
[
A
]
(
commandLine:
CommandLine
[
A
]
,
args:
Seq
[
String
]
)
: (
PicocliCommandLineParser
.this)#
CommandLineParsingContext
def
parseCommandLine
[
A
]
(
commandLine:
CommandLine
[
A
]
,
args:
Seq
[
String
]
,
context: (
PicocliCommandLineParser
.this)#
CommandLineParsingContext
)
: (
PicocliCommandLineParser
.this)#
CommandLineParsingContext
def
parserCompiler
(
args:
Seq
[
String
]
)
:
~>
[
CommandLineArgSpecA
, (
PicocliCommandLineParser
.this)#
CommandLineParsingState
]
val
sclapLoggingEnabled
:
Boolean
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
typeConverterFor
[
T
]
(
implicit
arg0:
ArgumentValueParser
[
T
]
)
:
ITypeConverter
[
T
]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped
An implementation of the Sclap command line parser using Picocli.