View Source Nexus.Command.Input (nexus_cli v0.4.2)

Define a structure to easy pattern matching the input on commands dispatched

Summary

Types

@type t() :: %Nexus.Command.Input{raw: binary(), subcommand: atom(), value: term()}

Functions

@spec parse!(term(), binary()) :: t()