Esempio n. 1
0
        public static void FlutterCreate(this ICakeContext context, FlutterCreateSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterCreateSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run("create", settings ?? new FlutterCreateSettings());
        }
Esempio n. 2
0
        public static IEnumerable <string> FlutterCreateWithResult(this ICakeContext context, FlutterCreateSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterCreateSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("create", settings ?? new FlutterCreateSettings()));
        }