@lightdash/cli 0.1604.2 → 0.1606.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,7 @@ export type DbtCompileOptions = {
|
|
16
16
|
skipDbtCompile: boolean | undefined;
|
17
17
|
skipWarehouseCatalog: boolean | undefined;
|
18
18
|
useDbtList: boolean | undefined;
|
19
|
+
defer: boolean | undefined;
|
19
20
|
};
|
20
21
|
export declare const dbtCompile: (options: DbtCompileOptions) => Promise<void>;
|
21
22
|
export declare function maybeCompileModelsAndJoins(loadManifestOpts: LoadManifestArgs, initialOptions: DbtCompileOptions): Promise<string[] | undefined>;
|
@@ -23,6 +23,7 @@ const dbtCompileArgs = [
|
|
23
23
|
'selector',
|
24
24
|
'state',
|
25
25
|
'fullRefresh',
|
26
|
+
'defer',
|
26
27
|
];
|
27
28
|
const camelToSnakeCase = (str) => str.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);
|
28
29
|
const optionsToArgs = (options) => Object.entries(options).reduce((acc, [key, value]) => {
|
package/dist/index.js
CHANGED
@@ -122,8 +122,8 @@ ${styles.bold('Examples:')}
|
|
122
122
|
.option('--no-version-check')
|
123
123
|
.option('-s, --select, <select> [selects...]')
|
124
124
|
.option('--state <state>')
|
125
|
-
.option('--defer')
|
126
|
-
.option('--no-defer')
|
125
|
+
.option('--defer', 'dbt property. Resolve unselected nodes by deferring to the manifest within the --state directory.', undefined)
|
126
|
+
.option('--no-defer', 'dbt property. Do not resolve unselected nodes by deferring to the manifest within the --state directory.', undefined)
|
127
127
|
.option('--full-refresh')
|
128
128
|
.option('--exclude-meta', 'exclude Lightdash metadata from the generated .yml', false)
|
129
129
|
.option('--verbose', undefined, false)
|
@@ -159,6 +159,8 @@ commander_1.program
|
|
159
159
|
.option('--profile <name>', 'The name of the profile to use (defaults to profile name in dbt_project.yml)', undefined)
|
160
160
|
.option('--target <name>', 'target to use in profiles.yml file', undefined)
|
161
161
|
.option('--vars <vars>')
|
162
|
+
.option('--defer', 'dbt property. Resolve unselected nodes by deferring to the manifest within the --state directory.', undefined)
|
163
|
+
.option('--no-defer', 'dbt property. Do not resolve unselected nodes by deferring to the manifest within the --state directory.', undefined)
|
162
164
|
.option('--threads <number>')
|
163
165
|
.option('--no-version-check')
|
164
166
|
.option('-s, --select <models...>', 'specify models (accepts dbt selection syntax)')
|
@@ -183,6 +185,8 @@ commander_1.program
|
|
183
185
|
.option('--profile <name>', 'The name of the profile to use (defaults to profile name in dbt_project.yml)', undefined)
|
184
186
|
.option('--target <name>', 'target to use in profiles.yml file', undefined)
|
185
187
|
.option('--vars <vars>')
|
188
|
+
.option('--defer', 'dbt property. Resolve unselected nodes by deferring to the manifest within the --state directory.', undefined)
|
189
|
+
.option('--no-defer', 'dbt property. Do not resolve unselected nodes by deferring to the manifest within the --state directory.', undefined)
|
186
190
|
.option('--threads <number>')
|
187
191
|
.option('--no-version-check')
|
188
192
|
.option('-s, --select <models...>', 'specify models (accepts dbt selection syntax)')
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lightdash/cli",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.1606.0",
|
4
4
|
"license": "MIT",
|
5
5
|
"bin": {
|
6
6
|
"lightdash": "dist/index.js"
|
@@ -30,8 +30,8 @@
|
|
30
30
|
"parse-node-version": "^2.0.0",
|
31
31
|
"unique-names-generator": "^4.7.1",
|
32
32
|
"uuid": "^11.0.3",
|
33
|
-
"@lightdash/
|
34
|
-
"@lightdash/
|
33
|
+
"@lightdash/common": "0.1606.0",
|
34
|
+
"@lightdash/warehouses": "0.1606.0"
|
35
35
|
},
|
36
36
|
"description": "Lightdash CLI tool",
|
37
37
|
"devDependencies": {
|