Skip to content

Commit 09ab7a7

Browse files
committed
feat: Expose command in docs
1 parent abcadb4 commit 09ab7a7

3 files changed

Lines changed: 48 additions & 1 deletion

File tree

cli/cmd/test_connection.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ func newCmdTestConnection() *cobra.Command {
8585
Example: testConnectionExample,
8686
Args: cobra.MinimumNArgs(1),
8787
RunE: testConnection,
88-
Hidden: true,
8988
}
9089
return cmd
9190
}

website/pages/docs/reference/cli/cloudquery.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ Find more information at:
3737
* [cloudquery switch](/docs/reference/cli/cloudquery_switch) - Switches between teams.
3838
* [cloudquery sync](/docs/reference/cli/cloudquery_sync) - Sync resources from configured source plugins to destinations
3939
* [cloudquery tables](/docs/reference/cli/cloudquery_tables) - Generate documentation for all supported tables of source plugins specified in the spec(s)
40+
* [cloudquery test-connection](/docs/reference/cli/cloudquery_test-connection) - Test plugin connections to sources and destinations
4041

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: "test-connection"
3+
---
4+
## cloudquery test-connection
5+
6+
Test plugin connections to sources and destinations
7+
8+
### Synopsis
9+
10+
Test plugin connections to sources and destinations
11+
12+
```
13+
cloudquery test-connection [files or directories] [flags]
14+
```
15+
16+
### Examples
17+
18+
```
19+
# Test plugin connections to sources and destinations
20+
cloudquery test-connection ./directory
21+
# Test plugin connections from directories and files
22+
cloudquery test-connection ./directory ./aws.yml ./pg.yml
23+
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help help for test-connection
30+
```
31+
32+
### Options inherited from parent commands
33+
34+
```
35+
--cq-dir string directory to store cloudquery files, such as downloaded plugins (default ".cq")
36+
--log-console enable console logging
37+
--log-file-name string Log filename (default "cloudquery.log")
38+
--log-format string Logging format (json, text) (default "text")
39+
--log-level string Logging level (trace, debug, info, warn, error) (default "info")
40+
--no-log-file Disable logging to file
41+
--telemetry-level string Telemetry level (none, errors, stats, all) (default "all")
42+
```
43+
44+
### SEE ALSO
45+
46+
* [cloudquery](/docs/reference/cli/cloudquery) - CloudQuery CLI
47+

0 commit comments

Comments
 (0)