Skip to main content

Generic CLI for scaffolding and managing modular runtime applications.

Project description

RuntimeKit CLI

RuntimeKit CLI is a generic command-line tool for scaffolding and managing modular runtime applications.

It can generate modules, pages, stores, backend routes, descriptor wiring, dependency wiring, release commands, installer collection, and safe cleanup commands for a workspace that follows a modular runtime layout.

Install

From PyPI after publishing:

python -m pip install runtimekit-cli

From GitHub before publishing:

python -m pip install "runtimekit-cli @ git+https://github.com/Susheer/runtimekit-cli.git"

Configure

Run this once per machine or environment:

runtimekit config init --workspace /path/to/spec --name "My Runtime"

The configured name is only local CLI metadata. It does not need to be hardcoded into the package.

Show config:

runtimekit config show

Common Commands

runtimekit doctor
runtimekit add module APP.WorkOrders --menu-parent Operations
runtimekit add page APP.WorkOrders WorkOrderDetails
runtimekit add store APP.WorkOrders WorkOrdersStore
runtimekit add dependency APP.WorkOrders OTHER.SharedFeature
runtimekit add include OTHER.SharedFeature --app APP
runtimekit prepare
runtimekit inspect runtime
runtimekit run browser --open
runtimekit run electron
runtimekit release make --target mac-dmg
runtimekit clean --target build --target installer --dry-run
runtimekit remove module APP.WorkOrders --dry-run

Destructive commands require --yes unless --dry-run is used.

Design-Aware Scaffolding

runtimekit add module now creates a full starter module instead of a blank shell:

  • Three visible pages in the same navigation group.
  • A module-scoped frontend store with fake data for every generated page.
  • Backend route and service files returning sample data.
  • module.json page, menu, navigation, icon, restore-state, and keep-alive metadata.
  • MUI/platform UI page templates using cards, metrics, status pills, and data tables.

runtimekit add page adds the new page under the module's existing navigation group by default, updates store page metadata, refreshes sample data, and keeps the generated frontend module export aligned with module.json.

Release Artifacts

Release builds can collect generated installer files into a root-level installer folder:

runtimekit release make --target mac-dmg

The collected output defaults to:

installer/

Override it with:

runtimekit release make --target mac-dmg --installer-dir published-installers

Development

python -m unittest discover -s tests
PYTHONPYCACHEPREFIX=/tmp/runtimekit_pycache python -m py_compile runtimekit_cli/cli.py tests/test_cli.py
python -m build

Publish

The recommended publish flow is PyPI Trusted Publishing from GitHub Actions. Create a PyPI project for runtimekit-cli, configure a trusted publisher for this repository, then publish by creating a GitHub release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runtimekit_cli-0.2.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runtimekit_cli-0.2.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file runtimekit_cli-0.2.0.tar.gz.

File metadata

  • Download URL: runtimekit_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for runtimekit_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6b3bc81af19cc0c5f1d091552a53bdc78cfbc0c6b80a168ef23b6f6a2e4ce5af
MD5 2fa79fc86ce7a2ed97e60b112d345480
BLAKE2b-256 adf64468636473feaef5cd18ddb33e5617c28739257c33dbb92a876ead6feba5

See more details on using hashes here.

Provenance

The following attestation bundles were made for runtimekit_cli-0.2.0.tar.gz:

Publisher: publish.yml on Susheer/runtimekit-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file runtimekit_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: runtimekit_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for runtimekit_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45c313207eb813e75b69dd4f55c058e45fa404f23c58c36ca4c6773282bc0a00
MD5 7cbc56368ddda35e143fe17000d280f5
BLAKE2b-256 b369fc4503e46dcbe7f938fa4de9f6d36a5ff8c24e0a5f13176e9e84a9a1f1a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for runtimekit_cli-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Susheer/runtimekit-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page