Skip to content

Document IArgumentCompleter and ArgumentCompleterAttribute for binary module development #6577

@rjmholt

Description

@rjmholt

Argument completers can be defined in .NET DLLs by implementing the IArgumentCompleter interface and using the ArgumentCompleterAttribute on parameters and cmdlets.

There are examples of this in the wild, but there doesn't seem to be any documentation of it beyond API documentation.

We should document how these types can be used not just from PowerShell but from binary modules and give examples. The PowerShell codebase should probably also improve the doc comments on the APIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions