"Fossies" - the Fresh Open Source Software Archive

Member "selenium-selenium-4.8.1/third_party/dotnet/devtools/src/generator/CommandLineOptions.cs" (17 Feb 2023, 2270 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C# source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 using CommandLine;
    2 using System;
    3 using System.Collections.Generic;
    4 using System.Text;
    5 
    6 namespace OpenQA.Selenium.DevToolsGenerator
    7 {
    8     public class CommandLineOptions
    9     {
   10         public CommandLineOptions()
   11         {
   12         }
   13 
   14         [Option(
   15             'f',
   16             "force-download",
   17             Default = false,
   18             HelpText = "Forces the Chrome Protocol Definition to be downloaded from source even if it already exists.")]
   19         public bool ForceDownload { get; set; }
   20 
   21         [Option(
   22             'q',
   23             "quiet",
   24             Default = false,
   25             HelpText = "Suppresses console output.")]
   26         public bool Quiet { get; set; }
   27 
   28         [Option(
   29             "force",
   30             Default = false,
   31             HelpText = "Forces the output directory to be overwritten")]
   32         public bool ForceOverwrite { get; set; }
   33 
   34         [Option(
   35             'o',
   36             "output-path",
   37             Default = "./OutputProtocol",
   38             HelpText ="Indicates the folder that will contain the generated class library [Default: ./OutputProtocol]")]
   39         public string OutputPath { get; set; }
   40 
   41         [Option(
   42             'b',
   43             "browser-protocol-path",
   44             Default = "./browser_protocol.json",
   45             HelpText = "Indicates the path to the Chromium Debugging Browser Protocol JSON file to use. [Default: browser_protocol.json]")]
   46         public string BrowserProtocolPath { get; set; }
   47 
   48         [Option(
   49             'j',
   50             "js-protocol-path",
   51             Default = "./js_protocol.json",
   52             HelpText = "Indicates the path to the Chromium Debugging JavaScript Protocol JSON file to use. [Default: js_protocol.json]")]
   53         public string JavaScriptProtocolPath { get; set; }
   54 
   55         [Option(
   56             't',
   57             "templates-path",
   58             Default = "",
   59             HelpText = "Indicates the path to the code generation templates file.")]
   60         public string TemplatesPath { get; set; }
   61 
   62         [Option(
   63             's',
   64             "settings",
   65             Default = "./Templates/settings.json",
   66             HelpText = "Indicates the path to the code generation settings file. [Default: ./Templates/settings.json]")]
   67         public string Settings { get; set; }
   68     }
   69 }