powercli.deprecation

Management of deprecation of the CLI.

Module Contents

Classes

Deprecation

A deprecation that can be applied on commands and arguments.

API

class powercli.deprecation.Deprecation

A deprecation that can be applied on commands and arguments.

message: str | None

None

An optional message describing the reason and/or alternatives of the deprecation

since: str | None

‘field(…)’

An optional version since when the deprecation started.