Streamlining the developer experience with the new Magnolia CLI
Oct 14, 2024
3 min
Blog_CLI streamlines the developer experience

Streamlining the developer experience with the new Magnolia CLI

Thinking of starting a new project or simplifying repetitive tasks? Look no further.

Magnolia CLI v5 is here to streamline your development process, making it faster and more efficient than ever. Whether you're building traditional Freemarker-based applications or working on headless solutions, this tool is designed to give you the flexibility and modularity you need.

Solving development pain points

We understand how frustrating manual setups and configuration challenges can be. That’s why Magnolia CLI v5 was built - to reduce setup time, eliminate repetitive tasks, and simplify project management.

This new CLI is more than just a command-line tool. It’s a versatile assistant that adapts to your specific development needs. Here’s what makes it stand out:

  • Modular architecture: Add or extend functionality with ease, thanks to its plugin-based design.

  • Multi-project support: Seamlessly handles both Freemarker-based and headless projects.

  • Flexibility: Provides the ability to create your own plugins to fit your unique requirements.

A unified solution for Freemarker and headless projects

Magnolia CLI v5 brings together the best parts of our previous tools into one unified interface. It supports both Freemarker and headless projects, combining the strengths of our existing solutions to give you greater flexibility and control. CLI v5 adapts to your needs with powerful features and enhanced customization options.

Get started instantly with the `jumpstart` command

Jumpstarting a project based on your needs has never been easier. Use this simple command to kickstart your next project in no time:

`npx @magnolia/cli jumpstart`

With just one command, you get a fully configured project in the framework of your choice. But that’s just the beginning! Magnolia CLI v5 also empowers you to:

  • Create custom templates: Generate page templates, component templates, and other light development definitions.

  • Automate code generation: Build boilerplate code, reducing manual coding efforts and minimizing errors.

  • Start Magnolia locally: Start your Magnolia instance directly from the command line.

These features give you the freedom to focus on developing unique functionalities, instead of getting caught up in the setup process. To learn more, take a look also at this short video walkthrough for the new CLI:

Looking forward: what’s next for Magnolia CLI v5?

Magnolia CLI v5 is just the beginning of our journey towards a more streamlined development experience. Our future plans include adding advanced features inspired by the Headless Accelerator, while enhancing transparency and customization based on user feedback.

Try the Magnolia CLI v5 today

Magnolia CLI v5 is built to empower developers, offering a unified and customizable tool that supports both Freemarker and headless projects.

Ready to experience the power of a unified CLI that evolves with your needs?

Check out our CLI documentation and start exploring all the possibilities. We’re excited to see what you’ll create with it.

Try the Magnolia CLI v5 today and take your development process to the next level!

About the author

Martina Michlova

Front-End Developer, Magnolia

Martina works as a front-end developer at Magnolia. She enjoys making things work and seeing the results. She is implementing Magnolia features and likes when her work contributes to users achieving their vision in the headless development. Nowadays she’s focusing mainly on the integration of Magnolia, Salesforce Commerce Cloud and PWA Kit, bringing the integration closer to the user and making it easier for them to start up their own project.