ZeroInstall.Commands.CliCommands.List.Execute C# (CSharp) Method

Execute() public method

public Execute ( ) : ExitCode
return ExitCode
        public override ExitCode Execute()
        {
            var feeds = FeedCache.ListAll().Select(x => x.ToStringRfc());
            if (AdditionalArgs.Count > 0) feeds = feeds.Where(x => x.ContainsIgnoreCase(AdditionalArgs[0]));

            Handler.Output(Resources.FeedsCached, feeds);
            return ExitCode.OK;
        }
    }