Skip to content

add deprecation message to license command#161

Merged
wesleymccollam merged 2 commits intomainfrom
deprecate-license-command
Mar 3, 2026
Merged

add deprecation message to license command#161
wesleymccollam merged 2 commits intomainfrom
deprecate-license-command

Conversation

@wesleymccollam
Copy link
Contributor

Change Description

  • Add deprecated message for license command
  • CDI-861

Change Characteristics

  • This PR contains beta functionality
  • This PR requires introduction of breaking changes

Checklist

All full (or complete) PRs that need review prior to merge should have the following box checked.

If contributing a partial or incomplete change (expecting the development team to complete the remaining work) please leave the box unchecked

  • Check to confirm: I have performed a review of my PR against the PR checklist and confirm that:
    • Changes have proper unit and acceptance test coverage (including regression tests)
    • Impacted command, parameter and flag descriptions have been reviewed and updated
    • Impacted command examples have been reviewed and updated
    • Impacted documentation files have been reviewed and updated
    • Does not introduce breaking changes to commands, parameters or flags (unless required to do so)
    • I am aware that changes to generated code may not be merged

Required SDK Upgrades

Testing

This PR has been tested with:

  • Unit tests (please paste commands and results below)
  • Acceptance tests (please paste commands and results below)
  • End-to-end tests (please paste the link to the actions workflow runs)
  • Not applicable (no evidences needed)

Shell Command(s)

pingcli license

Testing Results

Expand Results
Command "license" is deprecated, This command is deprecated and will be removed in a future release.
Usage:
  pingcli license [flags]

Examples:
  Request a new evaluation license for PingFederate 12.0.
    pingcli license --product pingfederate --version 12.0

  Request a new evaluation license for PingAccess 6.3.
    pingcli license --product pingaccess --version 6.3

Flags:
  -k, --devops-key string    The DevOps key for the license request.
                              See https://developer.pingidentity.com/devops/how-to/devopsRegistration.html on how to register a DevOps user.
                              You can save the DevOps user and key in your profile using the 'pingcli config' commands.
  -u, --devops-user string   The DevOps user for the license request.
                              See https://developer.pingidentity.com/devops/how-to/devopsRegistration.html on how to register a DevOps user.
                              You can save the DevOps user and key in your profile using the 'pingcli config' commands.
  -h, --help                 help for license
  -p, --product string       The product for which to request a license.
                             Options are: pingaccess, pingauthorize, pingauthorize-policy-editor, pingcentral, pingdirectory, pingdirectoryproxy, pingfederate.
                             Example: 'pingfederate'
  -v, --version string       The version of the product for which to request a license. Must be of the form 'major.minor'.
                             Example: '12.3'

Global Flags:
  -C, --config string          The relative or full path to a custom Ping CLI configuration file. (default $HOME/.pingcli/config.yaml)
  -D, --detailed-exitcode      Enable detailed exit code output. (default false)
                               0 - pingcli command succeeded with no errors or warnings.
                               1 - pingcli command failed with errors.
                               2 - pingcli command succeeded with warnings.
      --no-color               Disable text output in color. (default false)
  -O, --output-format string   Specify the console output format. (default text)
                               Options are: json, text.
  -P, --profile string         The name of a configuration profile to use.

End-to-end Tests Workflow Links

@wesleymccollam wesleymccollam requested a review from a team as a code owner March 2, 2026 19:10
Copy link
Contributor

@patrickcping patrickcping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slight wording change and then LGTM 🚀 🚀

Args: common.ExactArgs(0),
DisableFlagsInUseLine: true, // We write our own flags in @Use attribute
Example: licenseCommandExamples,
Deprecated: "This command is deprecated and will be removed in a future release.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... removed in the next major release

@wesleymccollam wesleymccollam merged commit c27cf57 into main Mar 3, 2026
10 checks passed
@wesleymccollam wesleymccollam deleted the deprecate-license-command branch March 3, 2026 13:39
wesleymccollam added a commit that referenced this pull request Mar 3, 2026
wesleymccollam added a commit that referenced this pull request Mar 3, 2026
wesleymccollam added a commit that referenced this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants