View Source Runlet.Ctrl.History (runlet v1.2.0)

List and run items from command history

Link to this section Summary

Functions

List command history.

Run commands from history

Link to this section Functions

@spec exec(Runlet.t()) :: Enumerable.t()

List command history.

@spec exec(Runlet.t(), non_neg_integer() | String.t()) :: Enumerable.t()

Run commands from history:

h 10
h "10 11 34"
@spec run(Runlet.t()) :: Enumerable.t()