Subversion Repository Public Repository

ChrisCompleteCodeTrunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;

namespace PremierMigration
{
    public class CommandLineParams
    {
        [Option('x', DefaultValue = false, HelpText = "When set to true, only the documents that that are missing will be exported.")]
        public Boolean ExportOnlyMissing { get; set; }

        [Option('p', Required = true, HelpText = "The path to the root of the images directory.")]
        public String ImagePathRoot { get; set; }

        [Option('c', Required = true, HelpText = "The name of the cabinet to export.")]
        public String CabinetName { get; set; }

        [Option('i', DefaultValue = false, HelpText = "When set to true, all disk will be exported, otherwise only disk 1 will be included.")]
        public Boolean IncludeAllDisks { get; set; }

        [Option('e', Required = true, HelpText = "Directory to store the exported pdf file.")]
        public String ExportPath { get; set; }

        [Option('d', DefaultValue = true, HelpText = "When set to false, the pdf will not be deleted after the import into Docuware.")]
        public Boolean DeletePdf { get; set; }

        [Option('w', DefaultValue = false, HelpText = "When set to true, the application will import the index values and pdf into Docuware.")]
        public Boolean ImportIntoDocuware { get; set; }
    }
}

Commits for ChrisCompleteCodeTrunk/PremierMigration/PremierMigration/CommandLineParams.cs

Diff revisions: vs.
Revision Author Commited Message
1 BBDSCHRIS picture BBDSCHRIS Wed 22 Aug, 2018 20:08:03 +0000