Command line interface#
Program to open jupyter notebooks from central notebook server.
[1;34musage: [0m[1;35mopen-notebook[0m [[32m-h[0m] [[36m--host [33mHOST[0m] [[32m-p [33mPORT[0m] [[32m-r [33mROOT[0m]
[[36m--dir-prefix [33mDIR_PREFIX[0m] [[36m--file-prefix [33mFILE_PREFIX[0m]
[[36m--reset[0m] [[32m-c [33mCONFIG[0m] [[36m--create-config[0m] [[36m--overwrite[0m]
[[36m--version[0m] [[32m-v[0m] [[36m--dry[0m]
[32m[paths ...][0m
Positional Arguments#
- paths
file or paths to open
Named Arguments#
- --host
Host name (default=’localhost’)
- -p, --port
Port (default=’8888’)
- -r, --root
Directory servers was started in. Defaults to current working directory.
- --dir-prefix
Directory prefix (default=’tree’)
- --file-prefix
File prefix (default=’notebooks’)
- --reset
- -c, --config
Config style to use. This is the name of a header in one of the config files.
- --create-config
If passed, create .open-notebook.ini
- --overwrite
Pass to overwrite ~/.open-notebook.toml if it exists with –create-config
- --version
Print out program version
- -v, --verbose
Set verbosity level. Can pass multiple times.
- --dry
Dry run.
You can set options with the configuration files “.open-notebook.toml”. Configuration files are found in the current directory, git root (if in a git tracked tree), and the home directory. Note that all these files are considered, in order. That is, you could override a single value in the current directory, and the rest would be inherited from, in order, git root and then the home directory.