simvx.core.cli

simvx umbrella CLI.

Core ships a small dispatcher with these built-in subcommands:

simvx run [FILE] [--root-class CLS] [--width W] [--height H]
simvx new NAME [--template T]
simvx lsp
simvx context

Other packages extend the CLI via Python entry points — no upward imports from core:

  • simvx.commands — each entry registers a top-level subcommand (e.g. simvx-editor registers editor).

  • simvx.export.targets — each entry registers a second-level target under simvx export (e.g. simvx-web registers web).

  • simvx.project.templates — each entry contributes a project template for simvx new --template.

Entry-point callables must accept a single argparse._SubParsersAction and attach their subparser(s), calling p.set_defaults(func=handler) so the dispatcher knows how to run them.

Module Contents

Functions

Data

API

simvx.core.cli.log

‘getLogger(…)’

simvx.core.cli.__all__

[‘main’]

simvx.core.cli.build_parser() argparse.ArgumentParser[source]
simvx.core.cli.main(argv: list[str] | None = None) int[source]