mirror of
https://github.com/mickael-menu/zk
synced 2024-11-15 12:12:56 +00:00
21 lines
515 B
Plaintext
21 lines
515 B
Plaintext
|
# No notebook found in the current directory.
|
||
|
1$ zk index -q
|
||
|
2>zk: error: failed to open notebook: no notebook found in {{working-dir}} or a parent directory
|
||
|
|
||
|
# Provide the notebook directory with `--notebook-dir`.
|
||
|
$ zk index -q --notebook-dir paths
|
||
|
|
||
|
# Provide the notebook directory with the `ZK_NOTEBOOK_DIR` env variable.
|
||
|
$ ZK_NOTEBOOK_DIR={{working-dir}}/paths zk index -q
|
||
|
|
||
|
$ cd paths
|
||
|
|
||
|
# Notebook found in the current directory.
|
||
|
$ zk index -q
|
||
|
|
||
|
$ cd brown
|
||
|
|
||
|
# Notebook found in a parent directory.
|
||
|
$ zk index -q
|
||
|
|