View Source Tux.Init behaviour (Tux v0.4.0)

Dispatcher subsystem used internally for initialization of command environment and collection of preload results prior to command execution.

Summary

Callbacks

Initialize a new command environment from preloads and command line arguments.

Functions

This is used internally by the Tux.Dispatcher to inject the init routines.

Callbacks

init(map, list)

@callback init(map(), [String.t()]) :: Tux.Env.t()

Initialize a new command environment from preloads and command line arguments.

Functions

__using__(opts \\ [])

(macro)

This is used internally by the Tux.Dispatcher to inject the init routines.