Table of Contents

Enum CmdlineParseItemType

Namespace
SearchAThing.Cmdline
Assembly
netcore-cmdline.dll

types for cmd line parser item

public enum CmdlineParseItemType

Fields

command = 0

command if present are mandatory to match one between commands at this parser level

flag = 1

flag can be short, long or short/long and optional or mandatory; flag can require to have value association

parameter = 2

parameter can be optional or mandatory and are discovered after commands, flags are parsed

parameterArray = 3

parameter array are strings at end of cmdline