﻿// Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.IO;

namespace SmugMugCodeGen
{
    public class Options
    {
        public string OutputDir { get; private set; }
        public string OutputDirEnums { get; private set; }
        public string[] InputFiles { get; private set; }

        public Options(string[] args)
        {
            OutputDir = args[0];
            OutputDirEnums = Path.Combine(OutputDir, "Enums");

            // Copy the input files from the args array.
            InputFiles = new string[args.Length - 1];
            Array.Copy(args, 1, InputFiles, 0, args.Length - 1);
        }
    }
}

﻿// Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.IO;

namespace SmugMugCodeGen
{
    public class Options
    {
        public string OutputDir { get; private set; }
        public string OutputDirEnums { get; private set; }
        public string[] InputFiles { get; private set; }

        public Options(string[] args)
        {
            OutputDir = args[0];
            OutputDirEnums = Path.Combine(OutputDir, @"\..\Enums");

            // Copy the input files from the args array.
            InputFiles = new string[args.Length - 1];
            Array.Copy(args, 1, InputFiles, 0, args.Length - 1);
        }
    }
}

Change the location of where the Enums are generated to be at the same level as the types.
Change the location of where the Enums are generated to be at the same level as the types.
