diff --git a/.github/workflows/_dist.yml b/.github/workflows/_dist.yml index 869356f8..80a53a3d 100644 --- a/.github/workflows/_dist.yml +++ b/.github/workflows/_dist.yml @@ -43,4 +43,4 @@ jobs: - name: Test module --version works using the installed wheel # If more than one module in src/ replace with module name to test - run: create-gui --version + run: python -m $(ls --hide='*.egg-info' src | head -1) --version diff --git a/README.md b/README.md index b4db8eec..e4838153 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ The process to use this module goes as follows (WIP): > `extras` is optional, but allows any embedded screen to be added to make a summary screen e.g. combining all imgs, pirgs and ionps associated with a vacuum space. 1. Run this command to locally generate a schema, which can be used for validation testing - ```$ create-gui --schema``` + ```$ techui-builder --schema``` Add the following at the top of the `techui.yaml` to validate it against a schema @@ -60,7 +60,7 @@ The process to use this module goes as follows (WIP): ## Generating the Synoptic -`$ create-gui /path/to/synoptic/techui.yaml` +`$ techui-builder /path/to/synoptic/techui.yaml` This generates a populated `index.bob` and individual component screens inside `ixx-services/synoptic/opis/`. diff --git a/pyproject.toml b/pyproject.toml index 07f0a735..74e9157a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "rich>=14.1.0", "pydantic>=2.11.7", ] -scripts = { create-gui = "techui_builder.__main__:app" } +scripts = { techui-builder = "techui_builder.__main__:app" } [dependency-groups] dev = [