Table of Contents

Namespace ZeroInstall.Commands

Command-line interface for Zero Install. Both an actual CLI and a library for building other clients.

Note

NuGet package: ZeroInstall.Commands

The binary in this package serves both as an actual CLI (0install) and as a library for building other clients.

Additional documentation

Namespaces

ZeroInstall.Commands.Basic

CLI commands for Zero Install's core features.

ZeroInstall.Commands.Desktop

CLI commands for Zero Install's desktop integration features.

ZeroInstall.Commands.Properties

Classes

CliCommand

Represents a command invoked via command-line arguments.

CliCommandHandler

Uses the stdin/stderr streams to allow users to interact with CliCommands.

CliMultiCommand

Common base class for commands that provide multiple sub-CliCommands.

EnvironmentBuilderExtensions

Provides extension methods for IEnvironmentBuilder.

NeedsDeployedInstanceException

Indicates that the current Zero Install instance is not deployed to a location suitable for the requested operation.

NeedsGuiException

Indicates that the requested operation requires a GUI but the current process does not have one.

ProgramUtils

Provides utility methods for application entry points.

ScopedOperation

Common base class for Zero Install operations that require scoped dependency resolution.

ZeroInstallInstance

Provides information about the currently running instance of Zero Install.

Interfaces

ICliSubCommand

Interface for CliCommands that are aggregated by a CliMultiCommand.

ICommandHandler

Callback methods to allow users to interact with CliCommands.

Enums

ExitCode

An exit code is returned to the original caller after the application terminates, to indicate success or the reason for failure.