livebook/lib/livebook_cli/task.ex

12 lines
259 B
Elixir
Raw Normal View History

defmodule LivebookCLI.Task do
@doc """
Returns a description of the task usage.
"""
@callback usage() :: String.t()
@doc """
Runs the task with the given list of command line arguments.
"""
@callback call(args :: list(String.t())) :: :ok
end