portersky 3f78d0978d feat: add CLI argument parser with ASIO duration timer
Adds support for `--duration <seconds>` (and `--help`) to
automatically terminate after a set time. Useful for testing,
CI, and agent runs where the default infinite loop is
problematic.

Uses `asio::steady_timer` + `async_wait` for the timeout
(unified with the existing signal handling under one
io_context). The `process_signals` lambda was restored as it
looks nicer.

Combines what were 4 incremental commits into one (the
separate window refactor from earlier remains). Updated
cuber.cpp and includes.
2026-05-05 23:43:33 +02:00
2026-05-05 21:34:00 +02:00

cuber

cuber is a simple cube timer.

Requirements

  • CMake 3.21+
  • Ninja
  • C++23 compiler

Development

Configure:

cmake -S . -B build -GNinja

Build:

ninja -C build

Run:

./build/cuber.exe
S
Description
No description provided
Readme 425 KiB
Languages
C++ 95.1%
CMake 4.9%