Skip to main content

Crate perl_lsp_feature_profile_cli

Crate perl_lsp_feature_profile_cli 

Source
Expand description

CLI profile-token parsing for Perl LSP feature governance.

This microcrate owns one responsibility: parse user-facing profile tokens and expose diagnostics helpers for invalid values.

Structs§

UnsupportedFeatureProfileError
Structured parse error for invalid profile tokens.

Enums§

FeatureProfile
Known feature profiles for runtime capability selection.

Functions§

feature_profile_label
Canonical profile label for logs and diagnostics.
feature_profile_supported_tokens
Supported CLI tokens accepted by the profile parser.
parse_feature_profile_arg
Parse a --feature-profile argument into a runtime policy.
parse_feature_profile_arg_or_current
Parse a profile argument and fall back to FeatureProfile::current().