Directories
¶
| Path | Synopsis |
|---|---|
|
Package apis holds the OpenAPI contracts this CLI is built from, mirroring the layout of the contracts repository:
|
Package apis holds the OpenAPI contracts this CLI is built from, mirroring the layout of the contracts repository: |
|
cmd
|
|
|
leaflow
command
|
|
|
leaflow-doctor
command
Command leaflow-doctor checks the CLI against the contracts it ships with.
|
Command leaflow-doctor checks the CLI against the contracts it ships with. |
|
leaflow/internal/builtin
Package builtin holds the commands that belong to no service: signing in, choosing a project, inspecting contracts.
|
Package builtin holds the commands that belong to no service: signing in, choosing a project, inspecting contracts. |
|
leaflow/internal/cli
Package cli assembles the kernel, the contracts and the extensions into one program.
|
Package cli assembles the kernel, the contracts and the extensions into one program. |
|
leaflow/internal/extension
Package extension carries the kernel's capabilities to the commands that are not generated from a contract — signing in, choosing a project, configuring a context.
|
Package extension carries the kernel's capabilities to the commands that are not generated from a contract — signing in, choosing a project, configuring a context. |
|
internal
|
|
|
auth
Package auth owns the CLI's credentials: how they are obtained, where they are kept, and when they are replaced.
|
Package auth owns the CLI's credentials: how they are obtained, where they are kept, and when they are replaced. |
|
config
Package config holds what the CLI remembers between runs: which platform to reach, which project is current, how to print.
|
Package config holds what the CLI remembers between runs: which platform to reach, which project is current, how to print. |
|
pkg
|
|
|
leaflow
Package leaflow is the platform as a Go library: the contracts, the argument checking and the requests, with no opinion about who is calling.
|
Package leaflow is the platform as a Go library: the contracts, the argument checking and the requests, with no opinion about who is calling. |
|
mcp
Package mcp serves the platform over the Model Context Protocol.
|
Package mcp serves the platform over the Model Context Protocol. |
|
naming
Package naming holds the CLI's one naming rule, shared by the command tree and by leaflow-doctor.
|
Package naming holds the CLI's one naming rule, shared by the command tree and by leaflow-doctor. |
|
output
Package output turns a decoded JSON reply into something on screen.
|
Package output turns a decoded JSON reply into something on screen. |
|
spec
Package spec holds every API this CLI knows about.
|
Package spec holds every API this CLI knows about. |
|
transport
Package transport sends every request made against the platform.
|
Package transport sends every request made against the platform. |
|
validate
Package validate checks arguments against the contract before a request goes out.
|
Package validate checks arguments against the contract before a request goes out. |
Click to show internal directories.
Click to hide internal directories.