GDSFactory+ CLI
This document reflects the current gfp CLI implemented in
crates/gfp-server/src/commands/.
Top-Level Usage
--cwd changes the working directory before the command runs.
Commands
gfp hello
Simple smoke test that does not require Python.
gfp python-version
Print the Python version from the configured runtime.
gfp numpy-version
Print the NumPy version from the configured runtime.
gfp venv
Create a .venv using the backend's Python-runtime setup path.
gfp index
Index the current project and print JSON.
Options:
--module: filter to one module--function: filter to one qualified function name--factories: only include factory functions
gfp stats
Print resolution statistics for the current project.
Options:
--factories: only count factory functions--sections: comma-separated sections to show; defaults toresolved,libraries
gfp serve
Start the main backend server.
Notes:
- this is the backend process the VS Code extension spawns
- it serves HTTP endpoints and the stdio JSON-RPC surface
- it also owns server-side project watching and worker orchestration
gfp worker
Internal subprocess mode used by gfp serve for per-PDK Python-backed runtime
operations.
This is not a normal user-facing command.
gfp scm
Schematic-format helpers.
Parse
Parses the input schematic and prints the Rust debug representation.
Convert
Supported conversions currently include:
nyancir -> picymlpicyml -> nyancirpicyml -> dschematicnyancir -> dschematic
gfp code-gen (debug builds only)
Generate TypeScript protocol types from the router.
gfp debug pdks (debug builds only)
Print discovered PDKs from the current project index.
Removed From Older Docs
Older Markdown in this repo mentioned commands like:
gfp watchgfp versiongfp verifygfp visualize-3d
Those do not match the current CLI implemented in crates/gfp-server/src/commands/.