Skip to content
Merged

Dev #42

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
6a7610e
style(All): enforced type hinting
Mythical-Github Apr 19, 2026
74f1fae
bump: version 5.2.0-dev.24591472908 → 5.2.0-dev.24637340882
github-actions[bot] Apr 19, 2026
43c8bee
Update pyproject.toml
Mythical-Github Apr 23, 2026
70605c6
Merge branch 'dev' of https://github.com/Tempo-Organization/tempo-cli…
Mythical-Github Apr 23, 2026
63ca1b4
refactor(All): changed from str to pathlib, added ruff rules and ty
Mythical-Github Apr 23, 2026
6643d59
bump: version 5.2.0-dev.24637340882 → 5.2.0-dev.24855988894
github-actions[bot] Apr 23, 2026
5b8e077
feat(All): Added entry points for tools
Mythical-Github May 4, 2026
68b4a37
bump: version 5.2.0-dev.24855988894 → 5.2.0-dev.25340886994
github-actions[bot] May 4, 2026
f3cf38d
fix(uv.lock): updated tempo-core dep
Mythical-Github May 5, 2026
cfdbced
bump: version 5.2.0-dev.25340886994 → 5.2.0-dev.25399196670
github-actions[bot] May 5, 2026
3098119
feat(list.py): added list commands
Mythical-Github May 6, 2026
a6daac3
Merge branch 'dev' of https://github.com/Tempo-Organization/tempo-cli…
Mythical-Github May 6, 2026
15ef220
bump: version 5.2.0-dev.25399196670 → 5.2.0-dev.25458714664
github-actions[bot] May 6, 2026
8d53f9b
refactor(All): replaced --settings_json with --config-file
Mythical-Github May 28, 2026
baab2ae
bump: version 5.2.0-dev.25458714664 → 5.2.0-dev.26602054573
github-actions[bot] May 28, 2026
f561137
Merge branch 'main' into dev
Mythical-Github Jun 28, 2026
2b71a86
fix(uv.lock): updated deps
Mythical-Github Jun 28, 2026
f1e2171
bump: version 5.2.0-dev.26602054573 → 5.2.0-dev.28308125112
github-actions[bot] Jun 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,24 @@ setup: clean_up
uv run prek install --hook-type commit-msg
uv run prek install --hook-type pre-push

dev_setup: clean_up
uv venv
uv run prek install
uv run prek install --hook-type commit-msg
uv run prek install --hook-type pre-push
if (Test-Path "../tempo-core") { Remove-Item "../tempo-core" -Recurse -Force }
if (Test-Path "../tempo-binary-tool-manager") { Remove-Item "../tempo-binary-tool-manager" -Recurse -Force }
if (Test-Path "../tempo-binary-tools") { Remove-Item "../tempo-binary-tools" -Recurse -Force }
if (Test-Path "../tempo-settings") { Remove-Item "../tempo-settings" -Recurse -Force }
git clone -b dev --single-branch https://github.com/Tempo-Organization/tempo-core.git ../tempo-core
git clone -b main --single-branch https://github.com/Tempo-Organization/tempo-binary-tool-manager.git ../tempo-binary-tool-manager
git clone -b master --single-branch https://github.com/Tempo-Organization/tempo-binary-tools.git ../tempo-binary-tools
git clone -b main --single-branch https://github.com/Tempo-Organization/tempo-settings.git ../tempo-settings
uv pip install -e ../tempo-core
uv pip install -e ../tempo-binary-tools
uv pip install -e ../tempo-settings
uv pip install -e ../tempo-binary-tool-manager

build:
uv run pyinstaller --noconfirm --onefile --hidden-import=textual.widgets._tab --console --name tempo_cli --collect-data trogon src/tempo_cli/__main__.py

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:

- repo: https://github.com/adhtruong/mirrors-typos
rev: v1.45.1
rev: v1.47.2
hooks:
- id: typos
8 changes: 4 additions & 4 deletions .zed/debug.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"args": [
"run",
"test_mods_all",
"--settings_json",
"--config-file",
".tempo.json"
],
"cwd": "$ZED_WORKTREE_ROOT/../ZedfestModdingKit",
Expand All @@ -57,7 +57,7 @@
"args": [
"run",
"full_run_all",
"--settings_json",
"--config-file",
".tempo.json"
],
"cwd": "$ZED_WORKTREE_ROOT/../PoppyPlaytimeChapter5",
Expand All @@ -71,7 +71,7 @@
"args": [
"run",
"test_mods_all",
"--settings_json",
"--config-file",
".tempo.json"
],
"cwd": "$ZED_WORKTREE_ROOT/../PoppyPlaytimeChapter5",
Expand All @@ -85,7 +85,7 @@
"args": [
"uproject",
"build",
"--settings_json",
"--config-file",
".tempo.json"
],
"cwd": "$ZED_WORKTREE_ROOT/../PoppyPlaytimeChapter5",
Expand Down
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,42 @@

## 5.2.0-dev.28308125112 (2026-06-28)

### Fix

- **uv.lock**: updated deps

## 5.2.0-dev.26602054573 (2026-05-28)

### Refactor

- **All**: replaced --settings_json with --config-file

## 5.2.0-dev.25458714664 (2026-05-06)

### Feat

- **list.py**: added list commands

## 5.2.0-dev.25399196670 (2026-05-05)

### Fix

- **uv.lock**: updated tempo-core dep

## 5.2.0-dev.25340886994 (2026-05-04)

### Feat

- **All**: Added entry points for tools

## 5.2.0-dev.24855988894 (2026-04-23)

### Refactor

- **All**: changed from str to pathlib, added ruff rules and ty

## 5.2.0-dev.24637340882 (2026-04-19)

## 5.2.0 (2026-04-17)

## 5.2.0-dev.24591472908 (2026-04-17)
Expand Down
17 changes: 3 additions & 14 deletions docs/to_do_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ hide:
- [ ] Diff game and file list, backup diff (for cleanup/restore)
- [ ] Layout support command
- [ ] Engine pak making compression variants (defaults to compressed)
- [ ] Switch to `pathlib` from strings
- [ ] some sort of save hook thing or something

---
Expand Down Expand Up @@ -94,21 +93,11 @@ hide:
References:
- [VS Code Variables Reference](https://code.visualstudio.com/docs/editor/variables-reference)
- [VS Code Launch JSON Attributes](https://code.visualstudio.com/docs/editor/debugging#_launchjson-attributes)
- [ ] Fix it so all settings are loaded and saved from one place (currently several functions don’t follow this)
- [ ] Add TOML support

### Config Types

- Workspace config
- Project config
- Mod-specific config
- Game config
- Config versions





settings_config -> settings_config
add support for toml alongside json
congregate settings loading/access



Expand Down
40 changes: 35 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tempo-cli"
version = "5.2.0"
version = "5.2.0-dev.28308125112"
description = "Unreal Engine modding tool, that covers project management, automated builds, and more"
readme = "README.md"
requires-python = ">=3.12"
Expand All @@ -23,9 +23,11 @@ dependencies = [
"prek>=0.3.9",
"questionary>=2.1.0",
"rich-click>=1.9.4",
"tempo-binary-tool-manager",
"tempo-binary-tools",
"tempo-core",
"tempo-settings",
"tomlkit>=0.13.3",
"trogon>=0.6.0",
"ue4ss-installer-core",
]

Expand All @@ -34,12 +36,16 @@ requires = ["uv_build>=0.7.19,<0.8"]
build-backend = "uv_build"

[tool.uv.sources]
tempo-core = { git = "https://www.github.com/Tempo-Organization/tempo-core" }
ue4ss-installer-core = { git = "https://www.github.com/Tempo-Organization/ue4ss-installer-core" }
tempo-settings = { git = "https://www.github.com/Tempo-Organization/tempo-settings" }
tempo-binary-tool-manager = { git = "https://www.github.com/Tempo-Organization/tempo-binary-tool-manager" }
tempo-binary-tools = { git = "https://www.github.com/Tempo-Organization/tempo-binary-tools" }
tempo-core = { git = "https://www.github.com/Tempo-Organization/tempo-core" }

[dependency-groups]
dev = [
"commitizen>=4.8.3",
"importtime>=1.0.3.2",
"mkdocs-material>=9.6.15",
"mkdocstrings-python>=1.16.12",
"prek>=0.3.9",
Expand All @@ -65,12 +71,36 @@ exclude = [
"src/tempo_cli/cli.py"
]

[tool.ruff.lint]
select = [
"ANN",
"PTH",
"N",
"BLE",
"YTT",
"ASYNC",
"B",
"A",
"COM",
"C4",
"EXE",
"FA",
"INT",
"PIE",
"T20",
"PYI",
"UP047"
]

[tool.ty.src]
include = ["src", "tests"]
exclude = []


[tool.typos]
[tool.typos.default]
extend-words = { ue = "ue" }

[tool.pyright]
extraPaths = [".venv/Lib/site-packages"]

[tool.commitizen]
name = "cz_conventional_commits"
Expand Down
11 changes: 6 additions & 5 deletions src/tempo_cli/cli.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from __future__ import annotations
import os
import pathlib
from pathlib import Path

from trogon import tui
import rich_click as click

from tempo_core import (
Expand All @@ -26,15 +25,15 @@
from tempo_cli.commands.toml import toml
from tempo_cli.commands.uplugin import uplugin
from tempo_cli.commands.uproject import uproject
from tempo_cli.commands.list import list


default_logs_dir = os.path.normpath(f"{file_io.SCRIPT_DIR}/logs")
default_logs_dir = Path(f"{file_io.SCRIPT_DIR}/logs")

rich_color_system_choices = tempo_cli_data_structures.get_enum_strings_from_enum(
tempo_cli_data_structures.RichColorSystem
)

@tui(help='Open Textual TUI')
@click.version_option()
# @click.group(chain=True) disabled to allow easy groups
@click.group()
Expand Down Expand Up @@ -62,7 +61,7 @@
@click.option(
"--logs_directory",
default=default_logs_dir,
type=click.Path(exists=False, resolve_path=True, path_type=pathlib.Path),
type=click.Path(exists=False, resolve_path=True, path_type=Path),
help="The directory you want your logs outputted to.",
)
def cli(
Expand Down Expand Up @@ -107,3 +106,5 @@ def cli(
cli.add_command(uplugin)

cli.add_command(uproject)

cli.add_command(list)
Loading
Loading