What's Changed
New resterm init command that makes it easier to start a new resterm project. Instead of manually creating files and copying examples from docs, you can now run a single command and get a working setup. I also improved the update experience for those who installed resterm through Homebrew.
Added
- New
resterm initcommand for bootstrapping projects. Runningresterm initin a directory creates starter files includingrequests.httpwith example requests, environment files, and a RestermScript helper module. There are two templates available:standard(the default) which creates all files including documentation, andminimalwhich only creates the essentials. Useresterm init --listto see available templates. The command also adds resterm.env.json to your.gitignoreautomatically so you don't accidentally commit secrets. - Homebrew installation detection. If resterm was installed via Homebrew, the update notice now shows brew upgrade resterm instead of
resterm --update. Attempting to runresterm --updateon a Homebrew installation will show an error with the correct command to use.
Bug Fixes
- Fixed the resterm logo not being centered on startup. The logo was passing through the response wrapping pipeline which stripped the leading spaces used for centering. The logo now bypasses the structured wrapping and renders correctly in the middle of the viewport.