public static IEnumerable<string> AppCenterTestDownloadWithResult(this ICakeContext context, AppCenterTestDownloadSettings settings)
		{
			if (context == null)
			{
				throw new ArgumentNullException("context");
			}
                 var arguments = new string[0];
            var runner = new GenericRunner<AppCenterTestDownloadSettings >(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);
			return runner.RunWithResult("test download", settings ?? new AppCenterTestDownloadSettings(), arguments);
		}
        public static IEnumerable <string> AppCenterDistributeReleasesDeleteWithResult(this ICakeContext context, AppCenterDistributeReleasesDeleteSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var arguments = new string[0];
            var runner    = new GenericRunner <AppCenterDistributeReleasesDeleteSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("distribute releases delete", settings ?? new AppCenterDistributeReleasesDeleteSettings(), arguments));
        }
        public static IEnumerable <string> AppCenterAnalyticsAppVersionsWithResult(this ICakeContext context, AppCenterAnalyticsAppVersionsSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var arguments = new string[0];
            var runner    = new GenericRunner <AppCenterAnalyticsAppVersionsSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("analytics app-versions", settings ?? new AppCenterAnalyticsAppVersionsSettings(), arguments));
        }
示例#4
0
        public static IEnumerable <string> AppCenterBuildBranchesListWithResult(this ICakeContext context, AppCenterBuildBranchesListSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var arguments = new string[0];
            var runner    = new GenericRunner <AppCenterBuildBranchesListSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("build branches list", settings ?? new AppCenterBuildBranchesListSettings(), arguments));
        }
示例#5
0
        public static IEnumerable <string> AppCenterAppsSetCurrentWithResult(this ICakeContext context, AppCenterAppsSetCurrentSettings settings, string app)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (string.IsNullOrEmpty(app))
            {
                throw new ArgumentNullException(nameof(app));
            }
            var arguments = new string[] { app };
            var runner    = new GenericRunner <AppCenterAppsSetCurrentSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("apps set-current", settings ?? new AppCenterAppsSetCurrentSettings(), arguments));
        }
        public static IEnumerable <string> AppCenterCodepushDeploymentRemoveWithResult(this ICakeContext context, AppCenterCodepushDeploymentRemoveSettings settings, string deploymentName)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (string.IsNullOrEmpty(deploymentName))
            {
                throw new ArgumentNullException(nameof(deploymentName));
            }
            var arguments = new string[] { deploymentName };
            var runner    = new GenericRunner <AppCenterCodepushDeploymentRemoveSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("codepush deployment remove", settings ?? new AppCenterCodepushDeploymentRemoveSettings(), arguments));
        }
        public static IEnumerable <string> AppCenterSetupAutocompleteWithResult(this ICakeContext context, AppCenterSetupAutocompleteSettings settings, string shellProfilePath)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (string.IsNullOrEmpty(shellProfilePath))
            {
                throw new ArgumentNullException(nameof(shellProfilePath));
            }
            var arguments = new string[] { shellProfilePath };
            var runner    = new GenericRunner <AppCenterSetupAutocompleteSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("setup-autocomplete", settings ?? new AppCenterSetupAutocompleteSettings(), arguments));
        }
        public static IEnumerable <string> AppCenterDistributeReleasesEditWithResult(this ICakeContext context, AppCenterDistributeReleasesEditSettings settings, string state)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (string.IsNullOrEmpty(state))
            {
                throw new ArgumentNullException(nameof(state));
            }
            var arguments = new string[] { state };
            var runner    = new GenericRunner <AppCenterDistributeReleasesEditSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("distribute releases edit", settings ?? new AppCenterDistributeReleasesEditSettings(), arguments));
        }
        public static IEnumerable <string> AppCenterCrashesUploadMissingSymbolsWithResult(this ICakeContext context, AppCenterCrashesUploadMissingSymbolsSettings settings, string searchPath)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (string.IsNullOrEmpty(searchPath))
            {
                throw new ArgumentNullException(nameof(searchPath));
            }
            var arguments = new string[] { searchPath };
            var runner    = new GenericRunner <AppCenterCrashesUploadMissingSymbolsSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("crashes upload-missing-symbols", settings ?? new AppCenterCrashesUploadMissingSymbolsSettings(), arguments));
        }
示例#10
0
        public static IEnumerable <string> AppCenterTokensDeleteWithResult(this ICakeContext context, AppCenterTokensDeleteSettings settings, string token)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (string.IsNullOrEmpty(token))
            {
                throw new ArgumentNullException(nameof(token));
            }
            var arguments = new string[] { token };
            var runner    = new GenericRunner <AppCenterTokensDeleteSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("tokens delete", settings ?? new AppCenterTokensDeleteSettings(), arguments));
        }