A very brief introduction to Battlecry, a modern scaffolding tool for all languages and frameworks

As easy as live templates, as powerful as Rails Generate and Yeoman

Pedro Silva Moreira
codeburst

--

A couple of weeks ago I published Battlecry (previously called Samba), an Open Source cross-platform tool for automating repetitive software development tasks. It's built with NodeJS and you can use it with any language or framework.

Battlecry provides an interface for creating simple and customizable commands that can perform any type of action. Since most of the time developers need to create, copy, move, editor delete text files, Battlecry already comes with file helpers that make templating a breeze.

Battlecry screencast of the init and help commands

The Problem

There are many tools that help with scaffolding, such as Yeoman and the Rails CLI, but it's quite difficult to customise them to your needs. When you start a project standard tools do their job very well, but as you move forward your project gets more specific and those tools don't fit as well anymore.

This Solution

Battlecry focuses on having a set of generators per project. You can still include generators if you want, but most of the time it's recommended that you download them. There's even a built-in tool to do that!

The idea is that you either download or quickly generate your commands just like you do with live templates or snippets. To accomplish that, Battlecry comes with built-in text helpers and uses Casex.

So I invite you to give Battlecry a try!

I’m Pedro Moreira and I build software for companies and startups. I’ve also created and published a couple of personal projects, one of them is GitShowcase, a platform that helps developers be awesome at showcasing their talents and find their dream job

Twitter: https://twitter.com/pedsmoreira

GitHub: https://github.com/pedsmoreira

LinkedIn: https://www.linkedin.com/in/pedsmoreira

✉️ Subscribe to CodeBurst’s once-weekly Email Blast, 🐦 Follow CodeBurst on Twitter, view 🗺️ The 2018 Web Developer Roadmap, and 🕸️ Learn Full Stack Web Development.

--

--