Class StoreMan
- Namespace
- ZeroInstall.Commands.Basic
- Assembly
- 0install.dll
Manages the contents of the IImplementationStores.
public sealed class StoreMan : CliMultiCommand
- Inheritance
-
StoreMan
- Inherited Members
Constructors
StoreMan(ICommandHandler)
Manages the contents of the IImplementationStores.
public StoreMan(ICommandHandler handler)
Parameters
handler
ICommandHandler
Fields
Name
public const string Name = "store"
Field Value
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
Methods
GetCommand(string)
Creates a new sub-CliCommand based on a name.
public override CliCommand GetCommand(string commandName)
Parameters
commandName
stringThe 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.