Table of Contents

Class CatalogMan

Namespace
ZeroInstall.Commands.Basic
Assembly
0install.dll

Manages the Catalogs provided by the ICatalogManager.

public sealed class CatalogMan : CliMultiCommand
Inheritance
CatalogMan
Inherited Members

Constructors

CatalogMan(ICommandHandler)

Manages the Catalogs provided by the ICatalogManager.

public CatalogMan(ICommandHandler handler)

Parameters

handler ICommandHandler

Fields

Name

public const string Name = "catalog"

Field Value

string

Properties

SubCommandNames

A list of sub-command names (without alternatives) as used in command-line arguments in lower-case.

public override IEnumerable<string> SubCommandNames { get; }

Property Value

IEnumerable<string>

Methods

GetCommand(string)

Creates a new sub-CliCommand based on a name.

public override CliCommand GetCommand(string commandName)

Parameters

commandName string

The command name to look for; case-insensitive.

Returns

CliCommand

The requested sub-CliCommand.

Exceptions

OptionException

commandName is an unknown command.

IOException

There was a problem accessing a configuration file or one of the stores.

UnauthorizedAccessException

Access to a configuration file or one of the stores was not permitted.

InvalidDataException

A configuration file is damaged.