greentic-redbutton 0.4.2

Cross-platform Greentic red-button CLI scaffold with embedded i18n and release automation
1
2
3
4
5
6
7
#!/usr/bin/env python3
import tomllib
from pathlib import Path

manifest = tomllib.loads(Path("Cargo.toml").read_text())
package = manifest.get("package", {})
print(package["version"])