mirror of
				https://github.com/livebook-dev/livebook.git
				synced 2025-11-01 00:06:04 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			259 B
		
	
	
	
		
			Elixir
		
	
	
	
	
	
			
		
		
	
	
			11 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
 |