GraphMine

graphmine-core / io.github.sof3.graphmine.command / Overload / <init>

<init>

Overload()

Defines the parameters of a command.

Commands that have parameters should create classes extending Overload. The subclass should contain backing properties delegated to one of the CommandArg factory methods like string, integer, etc.

If another module wants to implement its own CommandArg types, it can create extension functions on Overload that constructs the CommandArg, calls the addArg function and returns the new CommandArg instance.