Skip to content

Commit 3c0d1d5

Browse files
committed
by default, query --database duckdb
1 parent b6c5dfb commit 3c0d1d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/query.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export default async function run(args?: string[]): Promise<void> {
1919
default: "."
2020
},
2121
database: {
22-
type: "string"
22+
type: "string",
23+
default: "duckdb"
2324
},
2425
help: {
2526
type: "boolean",
@@ -31,7 +32,7 @@ export default async function run(args?: string[]): Promise<void> {
3132
if (values.help || !values.database) {
3233
console.log(`usage: notebooks query <...query>
3334
34-
--database <name> name of the database
35+
--database <name> name of the database; defaults to duckdb
3536
--root <dir> path to the root directory; defaults to cwd
3637
-h, --help show this message
3738
`);

0 commit comments

Comments
 (0)