Skip to content

stata-cli v0.5.2 — Config Command + Stata 19 Detection

Latest

Choose a tag to compare

@ashuiGordon ashuiGordon released this 01 Jun 06:55

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-path

Commands:

  • stata-cli config set <key> <value> — save a config value
  • stata-cli config get <key> — read a config value
  • stata-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-cli

Full Changelog: v0.5.1...v0.5.2