Table of Contents

Class AddAlias

Namespace
ZeroInstall.Commands.Desktop
Assembly
0install.dll

Create an alias for a Run command.

public class AddAlias : AppCommand
Inheritance
AddAlias
Inherited Members

Constructors

AddAlias(ICommandHandler)

Common base class for commands that manage an AppList.

public AddAlias(ICommandHandler handler)

Parameters

handler ICommandHandler

Fields

AltName

public const string AltName = "add-alias"

Field Value

string

Name

public const string Name = "alias"

Field Value

string

Properties

AdditionalArgsMax

The maximum number of AdditionalArgs allowed. Checked in Parse(IReadOnlyList<string>).

protected override int AdditionalArgsMax { get; }

Property Value

int

Description

A short description of what this command does.

public override string Description { get; }

Property Value

string

Usage

The additional arguments to be displayed after the command name in the help text.

public override string Usage { get; }

Property Value

string

Methods

ExecuteHelper()

Template method that performs the actual operation.

protected override ExitCode ExecuteHelper()

Returns

ExitCode

The exit status code to end the process with.