Table of Contents

CliDirectiveAttribute.Hidden Property

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets or sets a value indicating whether the directive is hidden.

You might want to support a command, option, or argument, but avoid making it easy to discover. For example, it might be a deprecated or administrative or preview feature. Use the Hidden property to prevent users from discovering such features by using tab completion or help.

This is not used for directives currently, but it's reserved for future use.

public bool Hidden { get; set; }

Property Value

bool