cli

annotation class cli(val display: Display, val help: String, val delve: Int = 0)

Indicates that a member field or function should be displayed in the command line interface (if one is enabled). Note that the CLI only works for JVM platforms right now, because it requires reflection.

Parameters

display

Provides a user "capability" level to differentiate between simple commands and more esoteric or dangerous ones.

help

Provides a short description of the this function or field

delve

Should this member be displayed recursively? That is, should it be displayed when the parent, grandparent, or Nth parent is being displayed? If delve recursive depth, then the field will be fully shown

Properties

Link copied to clipboard
val delve: Int = 0
Link copied to clipboard
Link copied to clipboard