Table of Contents

Class ConsoleArgsScalars

Namespace
Songhay.Models
Assembly
SonghayCore.dll

Centralizes conventional console args passed to IConfiguration.

public static class ConsoleArgsScalars
Inheritance
ConsoleArgsScalars
Inherited Members

Fields

ActivityName

The name of the class implementing one of the Activity* abstractions.

public const string ActivityName = "--activity-name"

Field Value

string

Remarks

Going forward, this Studio should not support command-line parameters based solely on position. All parameters should have a --key. [https://github.com/BryanWilhite/SonghayCore/issues/173]

BaseDirectory

The base-directory argument.

public const string BaseDirectory = "--base-directory"

Field Value

string

BaseDirectoryRequired

Is BaseDirectory required flag.

public const string BaseDirectoryRequired = "--base-directory-required"

Field Value

string

DryRun

Dry-run flag.

public const string DryRun = "--dry-run"

Field Value

string

FlagSpacer

Ensures the space after a flag is clearly seen.

public const string FlagSpacer = " "

Field Value

string

Help

The help argument flag.

public const string Help = "--help"

Field Value

string

HelpTextSuffix

The conventional IConfiguration-key help text suffix.

public const string HelpTextSuffix = "-help"

Field Value

string

InputFile

The input file argument.

public const string InputFile = "--input-file"

Field Value

string

InputString

The input string argument.

public const string InputString = "--input-string"

Field Value

string

OutputFile

The output file argument.

public const string OutputFile = "--output-file"

Field Value

string

OutputUnderBasePath

Flag: use the output file argument relative to BaseDirectory.

public const string OutputUnderBasePath = "--output-under-base-path"

Field Value

string

SettingsFile

The settings file argument.

public const string SettingsFile = "--settings-file"

Field Value

string