We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.
At this moment it is not possible, but we have some plans to make dev tools for theme developers this year, to make theme development process much more easier and smooth, so I suppose that it will require some CLI API for Publii too 🙂