From 539b7b4a37dfe9fbbf93d4c667ca9c504cdef1a5 Mon Sep 17 00:00:00 2001 From: PingDavidR Date: Wed, 8 Oct 2025 10:38:43 -0500 Subject: [PATCH 1/3] fix formatting, correct example --- cmd/license/license.go | 8 +-- docs/dev-ux-portal-docs/pingcli_license.adoc | 51 -------------------- 2 files changed, 4 insertions(+), 55 deletions(-) delete mode 100644 docs/dev-ux-portal-docs/pingcli_license.adoc diff --git a/cmd/license/license.go b/cmd/license/license.go index 7e09bedc..952ed1eb 100644 --- a/cmd/license/license.go +++ b/cmd/license/license.go @@ -15,10 +15,10 @@ import ( const ( licenseCommandExamples = ` Request a new evaluation license for PingFederate 12.0. - pingcli license request --product pingfederate --version 12.0 - - Request a new evaluation license for PingAccess 6.3. - pingcli license request --product pingaccess --version 6.3` + pingcli license --product pingfederate --version 12.0 + + Request a new evaluation license for PingAccess 6.3. + pingcli license --product pingaccess --version 6.3` ) func NewLicenseCommand() *cobra.Command { diff --git a/docs/dev-ux-portal-docs/pingcli_license.adoc b/docs/dev-ux-portal-docs/pingcli_license.adoc deleted file mode 100644 index 0010c4b5..00000000 --- a/docs/dev-ux-portal-docs/pingcli_license.adoc +++ /dev/null @@ -1,51 +0,0 @@ -= pingcli license -:created-date: September 18, 2025 -:revdate: September 18, 2025 -:resourceid: pingcli_command_reference_pingcli_license - -Request a new evaluation license. - -== Synopsis - -Request a new evaluation license for a specific product and version. - -The new license request will be sent to the Ping Identity license server. - ----- -pingcli license [flags] ----- - -== Examples - ----- - Request a new evaluation license for PingFederate 12.0. - pingcli license request --product pingfederate --version 12.0 - - Request a new evaluation license for PingAccess 6.3. - pingcli license request --product pingaccess --version 6.3 ----- - -== Options - ----- - -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. - -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' - -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. - -v, --version string The version of the product for which to request a license. Must be of the form 'major.minor'. Example: '12.3' ----- - -== Options inherited from parent commands - ----- - -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. - -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. - --no-color Disable text output in color. (default false) ----- - -== More information - -* xref:pingcli.adoc[] - A CLI tool for managing the configuration of Ping Identity products. - From d24175d163e94aac5fcd3ca526890abbb2eeafa3 Mon Sep 17 00:00:00 2001 From: PingDavidR Date: Wed, 8 Oct 2025 10:48:20 -0500 Subject: [PATCH 2/3] add file back --- docs/dev-ux-portal-docs/pingcli_license.adoc | 51 ++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 docs/dev-ux-portal-docs/pingcli_license.adoc diff --git a/docs/dev-ux-portal-docs/pingcli_license.adoc b/docs/dev-ux-portal-docs/pingcli_license.adoc new file mode 100644 index 00000000..f3b81f6d --- /dev/null +++ b/docs/dev-ux-portal-docs/pingcli_license.adoc @@ -0,0 +1,51 @@ += pingcli license +:created-date: September 18, 2025 +:revdate: October 8, 2025 +:resourceid: pingcli_command_reference_pingcli_license + +Request a new evaluation license. + +== Synopsis + +Request a new evaluation license for a specific product and version. + +The new license request will be sent to the Ping Identity license server. + +---- +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 +---- + +== Options + +---- + -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. + -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' + -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. + -v, --version string The version of the product for which to request a license. Must be of the form 'major.minor'. Example: '12.3' +---- + +== Options inherited from parent commands + +---- + -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. + -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. + --no-color Disable text output in color. (default false) +---- + +== More information + +* xref:pingcli.adoc[] - A CLI tool for managing the configuration of Ping Identity products. + From 987232de6d903bd0cfa9914aacd56280d45d63de Mon Sep 17 00:00:00 2001 From: PingDavidR Date: Wed, 8 Oct 2025 10:53:06 -0500 Subject: [PATCH 3/3] add back --- docs/dev-ux-portal-docs/pingcli_license.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/dev-ux-portal-docs/pingcli_license.adoc b/docs/dev-ux-portal-docs/pingcli_license.adoc index f3b81f6d..84889b14 100644 --- a/docs/dev-ux-portal-docs/pingcli_license.adoc +++ b/docs/dev-ux-portal-docs/pingcli_license.adoc @@ -1,4 +1,5 @@ = pingcli license + :created-date: September 18, 2025 :revdate: October 8, 2025 :resourceid: pingcli_command_reference_pingcli_license