public static ProgramArguments Parse(string[] args)
 {
     var arguments = new ProgramArguments();
     arguments.Parameters = Parameters.CreateParameters(arguments, args);
     arguments.Initialize();
     return arguments;
 }
        public string GetProjectFullpath()
        {
            this.GetProjectFile();
            var args = new ProgramArguments(this._fileInfo.FullName, false, null);
            SpecBuilder projectSpec = new SpecBuilder(args);

            return projectSpec.SelfAssembly.GetFullpath;
        }
        public string RenderProjectAndChildren()
        {
            this.GetProjectFile();
            var args = new ProgramArguments(this._fileInfo.FullName, true, this._args.O);
            SpecBuilder projectSpec = new SpecBuilder(args);
            projectSpec.Render();

            return args.O + "\\" + args.SpecName;
        }
 public SpecBuilder(ProgramArguments renderOptions)
 {
     this._options = renderOptions;
     this.Initialize();
 }
 public ProjectReference(ProgramArguments args)
 {
     this._args = args;
     this._basePath = args.ProjectFile.DirectoryName;
 }