stata-cli v0.5.2
New: stata-cli config command
Persistent configuration stored in ~/.stata-cli/config.json. Agents can search for Stata on the user's machine and save the path permanently:
# Agent saves the found path
stata-cli config set stata-path "/path/to/stata"
# All future commands auto-detect from config
stata-cli run "display 1+1" # works without --stata-pathCommands:
stata-cli config set <key> <value>— save a config valuestata-cli config get <key>— read a config valuestata-cli config list— show all saved config
Improved path detection
Detection priority: --stata-path flag > STATA_PATH env > config.json > platform defaults.
Added Stata 19 / StataNow 19 to default path detection:
- Windows:
C:\Program Files\Stata19,C:\Program Files\StataNow19 - macOS:
/Applications/Stata,/Applications/StataNow - Linux:
/usr/local/stata19,/usr/local/statanow19
Install / Upgrade
pip install --upgrade stata-cliFull Changelog: v0.5.1...v0.5.2