Skip to content

Commit

Permalink
feat: Support XDG Base directory standard (argoproj#7638) (argoproj#7791
Browse files Browse the repository at this point in the history
)

* feat: support XDG Base directory standard

Signed-off-by: Mark Sagi-Kazar <[email protected]>

* chore: set XDG_CONFIG_HOME env var for docs generation

Signed-off-by: Mark Sagi-Kazar <[email protected]>

* chore: regenerate cli docs

Signed-off-by: Mark Sagi-Kazar <[email protected]>
  • Loading branch information
sagikazarmark authored Jan 12, 2022
1 parent c8bcabe commit 57e0ffc
Show file tree
Hide file tree
Showing 142 changed files with 173 additions and 141 deletions.
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ argocd [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ argocd account [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_account_can-i.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Resources: [clusters projects applications repositories certificates]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_account_delete-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ argocd account delete-token --account <account-name> ID
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_account_generate-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ argocd account generate-token --account <account-name>
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_account_get-user-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ argocd account get-user-info [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_account_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ argocd account get --account <account-name>
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_account_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ argocd account list
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_account_update-password.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ argocd account update-password [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ argocd admin [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_admin_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ argocd admin app [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ argocd admin app diff-reconcile-results PATH1 PATH2 [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_admin_app_generate-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ argocd admin app generate-spec APPNAME [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ argocd admin app get-reconcile-results PATH [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ argocd admin argocd-notifications [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ argocd admin argocd-notifications template [flags]
--client-crt-key string Client certificate key file
--client-key string Path to a client key file for TLS
--cluster string The name of the kubeconfig cluster to use
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--config-map string argocd-notifications-cm.yaml file path
--context string The name of the kubeconfig context to use
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ argocd-notifications template get app-sync-succeeded -o=yaml
--client-crt-key string Client certificate key file
--client-key string Path to a client key file for TLS
--cluster string The name of the kubeconfig cluster to use
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--config-map string argocd-notifications-cm.yaml file path
--context string The name of the kubeconfig context to use
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ argocd-notifications template notify app-sync-succeeded guestbook
--client-crt-key string Client certificate key file
--client-key string Path to a client key file for TLS
--cluster string The name of the kubeconfig cluster to use
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--config-map string argocd-notifications-cm.yaml file path
--context string The name of the kubeconfig context to use
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ argocd admin argocd-notifications trigger [flags]
--client-crt-key string Client certificate key file
--client-key string Path to a client key file for TLS
--cluster string The name of the kubeconfig cluster to use
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--config-map string argocd-notifications-cm.yaml file path
--context string The name of the kubeconfig context to use
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ argocd-notifications trigger get on-sync-failed -o=yaml
--client-crt-key string Client certificate key file
--client-key string Path to a client key file for TLS
--cluster string The name of the kubeconfig cluster to use
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--config-map string argocd-notifications-cm.yaml file path
--context string The name of the kubeconfig context to use
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ argocd-notifications trigger run on-sync-status-unknown ./sample-app.yaml \
--client-crt-key string Client certificate key file
--client-key string Path to a client key file for TLS
--cluster string The name of the kubeconfig cluster to use
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--config-map string argocd-notifications-cm.yaml file path
--context string The name of the kubeconfig context to use
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/commands/argocd_admin_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ argocd admin cluster [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ argocd admin cluster generate-spec CONTEXT [flags]
--auth-token string Authentication token
--client-crt string Client certificate file
--client-crt-key string Client certificate key file
--config string Path to Argo CD config (default "/home/user/.argocd/config")
--config string Path to Argo CD config (default "/home/user/.config/argocd/config")
--core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
--grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
Expand Down
Loading

0 comments on commit 57e0ffc

Please sign in to comment.