notebook command launches a Jupyter Lab instance with a pre-configured notebook for exploring your codebase.
Usage
Options
--background: Run Jupyter Lab in the background (default: false)
--background if you want to run it in the background.
What it Does
This will:- Create a Python virtual environment in
.codegen/.venvif it doesn’t exist - Install required packages (codegen and jupyterlab)
- Create a starter notebook in
.codegen/jupyter/tmp.ipynb - Launch Jupyter Lab with the notebook open
The notebook is created in
.codegen/jupyter/, so the relative path ../../
points to your repository root.Directory Structure
After runninggs notebook, your repository will have this structure: