One thing that is always top of mind for the dotCMS product team is, how we can improve the developer experience. We spend a lot of time on UI and editing experiences, but for engineers and DevOps teams focused on streamlining development and infrastructure, we always look for ways to make their day-to-day lives easier.
One major way we are doing this is with the launch of dotCLI! 🥳 dotCLI is a CLI tool that provides devs with a command-based interface for automating tasks and managing software deployment processes.Â
dotCLI replaces uploading and editing via WebDAV and the legacy Bash CLI, offering more features and functionality.Â
dotCLI will automate several tasks related to content management and deployment. Some specific examples include:Â
Synchronizing Entities: dotCMS can push and pull file assets, content types, languages, and sites (including site variables) between a local workspace and a dotCMS environment. This automation simplifies content updates and deployments.
CI/CD Integration: dotCLI integrates with Continuous Integration/Continuous Delivery (CI/CD) pipelines. This allows you to automate pushing and pulling files from a GitHub repository to a target dotCMS environment, streamlining the deployment process further.
Version Control Integration: dotCLI works seamlessly with version control systems like Git, enabling developers to manage changes in content types, assets, and configurations. By syncing these changes across environments, dotCLI ensures that version history is tracked and easily managed.
Creating Scripts for Repetitive Tasks: The command line interface provided by dotCLI allows developers to write scripts that automate repetitive tasks. This can enhance productivity and maintain consistency in deployment processes.Â
While we will continue to work on dotCLI improvements, it’s available now for devs to get started. Installing dotCLI is straightforward using npm:
[npm install -g @dotcms/dotcli]
Check out our documentation for more details.
This article was originally published on the blog of industry thought leader and dotCMS’s VP of Product, Preston So, and is the first of a multi-part blog series discussing the future of content manag...
The rise of the headless CMS has been a boon for developers, but at the expense of content managers; it has forced business users back to the 2000s, where the key to all progress lies in developer mus...
Implementing a Content Security Policy and Permission Policy is more straightforward than people might think, and there are many resources available to guide developers through the process.