Package org.djutils.cli
Command Line Interface (CLI) primitives through picocli.
Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
- Author:
- Alexander Verbraeck
-
Interface Summary Interface Description Checkable Checkable checks whether the CLI arguments are correct. -
Class Summary Class Description CliUnitConverters CliUnitConverters offers conversion methods for DJUNITS scalars so these can be used on the command line, e.g.:CliUnitConverters.ABSOLUTETEMPERATURE Convert an absolute temperature String with unit on the command line to an AbsoluteTemperature scalar.CliUnitConverters.ABSORBEDDOSE Convert an absorbed dose String with unit on the command line to an AbsorbedDose scalar.CliUnitConverters.ACCELERATION Convert an acceleration String with unit on the command line to an Acceleration scalar.CliUnitConverters.AMOUNTOFSUBSTANCE Convert an amount of substance String with unit on the command line to an AmountOfSubstance scalar.CliUnitConverters.ANGLE Convert an angle String with unit on the command line to an Angle scalar.CliUnitConverters.ANGULARACCELERATION Convert an angular acceleration String with unit on the command line to an AngularAcceleration scalar.CliUnitConverters.ANGULARVELOCITY Convert an angular velocity String with unit on the command line to an AngularVelocity scalar.CliUnitConverters.AREA Convert an area String with unit on the command line to an Area scalar.CliUnitConverters.CATALYTICACTIVITY Convert a catalytic activity String with unit on the command line to a CatalyticActivity scalar.CliUnitConverters.DENSITY Convert a density String with unit on the command line to a Density scalar.CliUnitConverters.DIMENSIONLESS Convert a dimensionless String with unit on the command line to a Dimensionless scalar.CliUnitConverters.DIRECTION Convert a direction String with unit on the command line to a Direction scalar.CliUnitConverters.DURATION Convert a duration String with unit on the command line to a Duration scalar.CliUnitConverters.ELECTRICALCAPACITANCE Convert an electrical capacitance String with unit on the command line to an ElectricalCapacitance scalar.CliUnitConverters.ELECTRICALCHARGE Convert an electrical charge String with unit on the command line to an ElectricalCharge scalar.CliUnitConverters.ELECTRICALCONDUCTANCE Convert an electrical conductance String with unit on the command line to an ElectricalConductance scalar.CliUnitConverters.ELECTRICALCURRENT Convert an electrical current String with unit on the command line to an ElectricalCurrent scalar.CliUnitConverters.ELECTRICALINDUCTANCE Convert an electrical inductance String with unit on the command line to an ElectricalInductance scalar.CliUnitConverters.ELECTRICALPOTENTIAL Convert an electrical potential String with unit on the command line to an ElectricalPotential scalar.CliUnitConverters.ELECTRICALRESISTANCE Convert an electrical resistance String with unit on the command line to an ElectricalResistance scalar.CliUnitConverters.ENERGY Convert an energy String with unit on the command line to an Energy scalar.CliUnitConverters.EQUIVALENTDOSE Convert an equivalent dose String with unit on the command line to an EquivalentDose scalar.CliUnitConverters.FLOWMASS Convert a flow mass String with unit on the command line to a FlowMass scalar.CliUnitConverters.FLOWVOLUME Convert a flow volume String with unit on the command line to a FlowVolume scalar.CliUnitConverters.FORCE Convert a force String with unit on the command line to a Force scalar.CliUnitConverters.FREQUENCY Convert a frequency String with unit on the command line to a Frequency scalar.CliUnitConverters.ILLUMINANCE Convert an illuminance String with unit on the command line to an Illuminance scalar.CliUnitConverters.LENGTH Convert a length String with unit on the command line to a Length scalar.CliUnitConverters.LINEARDENSITY Convert a linear density String with unit on the command line to a LinearDensity scalar.CliUnitConverters.LUMINOUSFLUX Convert a luminous flux String with unit on the command line to a LuminousFlux scalar.CliUnitConverters.LUMINOUSINTENSITY Convert a luminous intensity String with unit on the command line to a LuminousIntensity scalar.CliUnitConverters.MAGNETICFLUX Convert a magnetic flux String with unit on the command line to a MagneticFlux scalar.CliUnitConverters.MAGNETICFLUXDENSITY Convert a magnetic flux density String with unit on the command line to a MagneticFluxDensity scalar.CliUnitConverters.MASS Convert a mass String with unit on the command line to a Mass scalar.CliUnitConverters.MOMENTUM Convert a momentum String with unit on the command line to a Momentum scalar.CliUnitConverters.POSITION Convert a position String with unit on the command line to a Position scalar.CliUnitConverters.POWER Convert a power String with unit on the command line to a Power scalar.CliUnitConverters.PRESSURE Convert a pressure String with unit on the command line to a Pressure scalar.CliUnitConverters.RADIOACTIVITY Convert a radio activity String with unit on the command line to a RadioActivity scalar.CliUnitConverters.SOLIDANGLE Convert a solid angle String with unit on the command line to a SolidAngle scalar.CliUnitConverters.SPEED Convert a speed String with unit on the command line to a Speed scalar.CliUnitConverters.TEMPERATURE Convert a temperature String with unit on the command line to a Temperature scalar.CliUnitConverters.TIME Convert a time String with unit on the command line to a Time scalar.CliUnitConverters.TORQUE Convert a torque String with unit on the command line to a Torque scalar.CliUnitConverters.VOLUME Convert a volume String with unit on the command line to a Volume scalar.CliUtil CliUtil offers a helper method to display --help and --version without starting the program. -
Exception Summary Exception Description CliException CliException for exceptions of the CommandLine Interpreter.