MCPcopy Index your code
hub / github.com/cloudquery/cloudquery / testCommandArgs

Function testCommandArgs

cli/cmd/cmd_test.go:8–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

6)
7
8func testCommandArgs(t *testing.T) []string {
9 cqDir := t.TempDir()
10 logFileName := path.Join(cqDir, "cloudquery.log")
11 t.Cleanup(func() {
12 CloseLogFile()
13 })
14
15 return []string{"--cq-dir", cqDir, "--log-file-name", logFileName}
16}

Callers 15

TestMigrateFunction · 0.85
generateDocsFunction · 0.85
TestTestConnectionFunction · 0.85
TestAddonDownloadFunction · 0.85
TestAddonDownloadStdoutFunction · 0.85
TestSwitchFunction · 0.85
TestInitFunction · 0.85
getTablesCommandFunction · 0.85
TestValidateConfigFunction · 0.85
TestPluginPublishFunction · 0.85

Calls 1

CloseLogFileFunction · 0.85

Tested by

no test coverage detected