-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add generate-docs and Update the command docs (#822)
Signed-off-by: Anuj Chaudhari <[email protected]>
- Loading branch information
Showing
16 changed files
with
150 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## tanzu context current | ||
|
||
Display the current context | ||
|
||
``` | ||
tanzu context current [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for current | ||
--short prints the context in compact form | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [tanzu context](tanzu_context.md) - Configure and manage contexts for the Tanzu CLI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
## tanzu login | ||
|
||
Login to Tanzu Platform for Kubernetes | ||
|
||
``` | ||
tanzu login [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Login to Tanzu | ||
tanzu login | ||
# Login to Tanzu using non-default endpoint | ||
tanzu login --endpoint "https://login.example.com" | ||
# Login to Tanzu by using the provided CA Bundle for TLS verification | ||
tanzu login --endpoint https://test.example.com[:port] --endpoint-ca-certificate /path/to/ca/ca-cert | ||
# Login to Tanzu by explicit request to skip TLS verification (this is insecure) | ||
tanzu login --endpoint https://test.example.com[:port] --insecure-skip-tls-verify | ||
Note: | ||
To login to Tanzu an API Key is optional. If provided using the TANZU_API_TOKEN environment | ||
variable, it will be used. Otherwise, the CLI will attempt to log in interactively to the user's default Cloud Services | ||
organization. You can override or choose a custom organization by setting the TANZU_CLI_CLOUD_SERVICES_ORGANIZATION_ID | ||
environment variable with the custom organization ID value. More information regarding organizations in Cloud Services | ||
and how to obtain the organization ID can be found at | ||
https://docs.vmware.com/en/VMware-Cloud-services/services/Using-VMware-Cloud-Services/GUID-CF9E9318-B811-48CF-8499-9419997DC1F8.html | ||
Also, more information on logging into Tanzu Platform Platform for Kubernetes and using | ||
interactive login in terminal based hosts (without browser) can be found at | ||
https://github.com/vmware-tanzu/tanzu-cli/blob/main/docs/quickstart/quickstart.md#logging-into-tanzu-platform-for-kubernetes | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--endpoint string endpoint to login to (default "https://api.tanzu.cloud.vmware.com") | ||
--endpoint-ca-certificate string path to the endpoint public certificate | ||
-h, --help help for login | ||
--insecure-skip-tls-verify skip endpoint's TLS certificate verification | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [tanzu](tanzu.md) - The Tanzu CLI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,5 @@ tanzu version [flags] | |
|
||
### SEE ALSO | ||
|
||
* [tanzu](tanzu.md) - | ||
* [tanzu](tanzu.md) - The Tanzu CLI | ||
|