- All Superinterfaces:
io.github.mmm.property.AttributeReadOnly,CliCommand,io.github.mmm.marshall.MarshallableObject,io.github.mmm.marshall.Marshaller<Object>,io.github.mmm.marshall.Marshalling<Object>,io.github.mmm.marshall.MarshallingObject,io.github.mmm.bean.ReadableBean,io.github.mmm.value.ReadablePath,io.github.mmm.marshall.id.StructuredIdMappingObject,io.github.mmm.marshall.UnmarshallableObject,io.github.mmm.marshall.Unmarshaller<Object>,io.github.mmm.validation.Validatable,io.github.mmm.bean.WritableBean,io.github.mmm.value.WritablePath
CliCommand for auto-completion of the CLI.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.mmm.value.ReadablePath
io.github.mmm.value.ReadablePath.PathBuilder -
Field Summary
Fields inherited from interface io.github.mmm.cli.command.CliCommand
ALIAS_WILDCARDFields inherited from interface io.github.mmm.bean.ReadableBean
SUFFIX_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionio.github.mmm.property.container.list.ListProperty<String> io.github.mmm.property.booleans.BooleanPropertyComplete()default booleandefault intExecutes thisCliCommand.Methods inherited from interface io.github.mmm.property.AttributeReadOnly
isReadOnlyMethods inherited from interface io.github.mmm.marshall.MarshallableObject
writeObjectMethods inherited from interface io.github.mmm.bean.ReadableBean
copy, doEquals, doToString, get, getAliases, getJavaClass, getPropertyCount, isDynamic, isEqual, isPolymorphic, isPrototype, mapPropertyIds, newInstance, toString, validateMethods inherited from interface io.github.mmm.value.ReadablePath
parentPath, path, path, pathMethods inherited from interface io.github.mmm.marshall.UnmarshallableObject
readObjectMethods inherited from interface io.github.mmm.validation.Validatable
validateOrThrowMethods inherited from interface io.github.mmm.bean.WritableBean
addProperty, asTypeKey, createProperty, defineIdMapping, getOrCreateProperty, getProperties, getProperty, getRequiredProperty, getType, pathSegment, pathSegment, read, set, set, setDynamic, writeMethods inherited from interface io.github.mmm.value.WritablePath
parentPath
-
Method Details
-
Complete
@PropertyAlias({"$","0"}) @Mandatory io.github.mmm.property.booleans.BooleanProperty Complete()- Returns:
- flag to activate this command.
-
Arguments
- Returns:
- the current arguments to auto-complete.
-
hideFromHelp
default boolean hideFromHelp()- Specified by:
hideFromHelpin interfaceCliCommand- Returns:
truein case this command shall not be included in the help output.
-
run
Description copied from interface:CliCommandExecutes thisCliCommand. Has to be implemented as default method.- Specified by:
runin interfaceCliCommand- Parameters:
main- theCliMainprogram.- Returns:
- the
exit code.
-