๐Ÿ›ก๏ธ WP Bones 2.0.10 โ€” a safer bones CLI

WP Bones 2.0.10 is out ๐Ÿฆด a safety release for bones, the CLI every WP Bones plugin carries, after I audited it line by line ๐Ÿ”

๐Ÿ›ก๏ธ deploy checks where it deploys. php bones deploy .. used to delete every plugin beside yours, and then yours. Now the plugin, its parents and anything inside it are refused, and an unrelated folder needs --force.

The Where the deploy goes section of the WP Bones docs

โœ‹ make:* never overwrite your work. A second make:controller Probe used to replace the file you were editing. Now it stops; --force if you mean it.

๐Ÿงช tinker shows its errors instead of printing nothing, and never runs an exception message as code again.

๐Ÿšฆ Failures exit 1, so scripts and CI can finally tell them from success.

โฌ†๏ธ Drop-in for 2.0.x: composer update wpbones/wpbones

๐Ÿ‘‰ Docs, boilerplates and live Playground demos:

What's the scariest command in your own toolbox? I'd love to hear how you guard it ๐Ÿ‘€

16 views

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.