livebook/lib/livebook_cli/task.ex
2023-09-21 12:28:45 +02:00

12 lines
259 B
Elixir

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