View Source Dagger.ProjectCommand (dagger v0.10.0)

A command defined in a project that can be invoked from the CLI.

Link to this section Summary

Functions

Documentation for what this command does.

Flags accepted by this command.

A unique identifier for this command.

The name of the command.

The name of the type returned by this command.

Subcommands, if any, that this command provides.

Link to this section Types

@type t() :: %Dagger.ProjectCommand{client: term(), selection: term()}

Link to this section Functions

Link to this function

description(project_command)

View Source
@spec description(t()) :: {:ok, Dagger.String.t() | nil} | {:error, term()}

Documentation for what this command does.

@spec flags(t()) :: {:ok, [Dagger.ProjectCommandFlag.t()] | nil} | {:error, term()}

Flags accepted by this command.

@spec id(t()) :: {:ok, Dagger.ProjectCommandID.t()} | {:error, term()}

A unique identifier for this command.

@spec name(t()) :: {:ok, Dagger.String.t()} | {:error, term()}

The name of the command.

Link to this function

result_type(project_command)

View Source
@spec result_type(t()) :: {:ok, Dagger.String.t() | nil} | {:error, term()}

The name of the type returned by this command.

Link to this function

subcommands(project_command)

View Source
@spec subcommands(t()) :: {:ok, [t()] | nil} | {:error, term()}

Subcommands, if any, that this command provides.