Table of Contents

Class CommonArgs

Namespace
SunamoCl.SunamoCmdArgs.Data
Assembly
SunamoCl.dll

Base class for command-line arguments containing common properties like mode and run folder

public class CommonArgs
Inheritance
CommonArgs
Inherited Members
Extension Methods

Properties

Mode

Gets or sets the application mode determining which action to execute

[Option("Mode", ResourceType = typeof(string))]
public string Mode { get; set; }

Property Value

string

RunInFolder

Gets or sets the folder path to run the application in instead of the current directory. By default, only mode and mode args do not need a switch. The folder on the second position after mode must be preserved (used e.g. in VS quick actions with $(ProjectDir)).

[Option("RunInFolder", ResourceType = typeof(string))]
public string RunInFolder { get; set; }

Property Value

string