C# Class ZeroInstall.Publish.Cli.PublishCommand

Represents a single run of the 0publish tool.
Inheritance: ICommand
Afficher le fichier Open project: 0install/0install-win

Méthodes publiques

Méthode Description
Execute ( ) : ExitCode
PublishCommand ( IEnumerable args, ITaskHandler handler ) : System

Parses command-line arguments.

Private Methods

Méthode Description
AddMissing ( IEnumerable elements, ICommandExecutor executor ) : void
BuildOptions ( ) : OptionSet
HandleModify ( FeedEditing feedEditing ) : void

Applies user-selected modifications to a feed.

SaveCatalog ( Catalog catalog ) : void

Saves a catalog.

SaveFeed ( FeedEditing feedEditing ) : void

Saves a feed.

Method Details

Execute() public méthode

public Execute ( ) : ExitCode
Résultat ExitCode

PublishCommand() public méthode

Parses command-line arguments.
The user asked to see help information, version information, etc.. contains unknown options.
public PublishCommand ( IEnumerable args, ITaskHandler handler ) : System
args IEnumerable The command-line arguments to be parsed.
handler ITaskHandler A callback object used when the the user needs to be asked questions or informed about download and IO tasks.
Résultat System