Skip to content

Introducing CodeScene's new CLI Tool

Meet CodeScene's new CLI Tool. Developers can now improve their code quality directly in their terminals. 

Developers can now improve their code quality directly in their terminals. 

In the ever-evolving landscape of software development, maintaining a high code quality is always paramount. Code smells, inefficient practices, and readability issues can accumulate over time, affecting the overall health of your codebase. To address these concerns effectively, we are excited to introduce CodeScene's new Command Line Interface (CLI) tool – a powerful addition to your toolkit that brings a plethora of advantages into your terminal.

 

Improve code with the delta changes for automated code reviews

This powerful feature for delta changes for automated code reviews compares your current work against a previous state of your code. It scrutinizes all non-committed changes to your current head, highlighting issues that need your attention. Finding issues is a breeze – make the necessary changes, rerun the command, and witness a clean slate. But it doesn't stop there; the code review delta command also showcases any improvements you make to the code. Automation at its finest.

CodeScene Delta command_cli-tool_codescene

The delta command compares your current work against a previous state of your code

 

Detect code smells with ease

CodeScene's new CLI tool has the ability to effortlessly detect code smells. Keeping your codebase clean and maintainable is crucial for the longevity and success of any software project. Our CLI tool streamlines this process, helping you identify and address issues that might otherwise go unnoticed.

Watch the video and see it for yourself. 

 



Seamless integration with Git

Integrate CodeScene directly into your Git hooks to seamlessly weave code quality checks into your development workflow. By doing so, you ensure that potential issues are caught and rectified early in the development process, preventing them from snowballing into more significant problems down the line. This integration promotes a proactive approach to code quality, adding an extra layer of vigilance. When active, it causes the command to exit with an error code if any code issues are detected. Combine it with the staged option, and you have a powerful duo that only considers files included in the commit. 

Git hook_cli-tool_codescene

Integrate the CLI with your existing workflow by setting up Git hooks.



Dive deep into single file analysis with Review Command

Sometimes, you need a closer look at a specific file. That's where the review command shines. Analyze a single file with precision, and if you're a fan of machine-readable formats, we've got you covered. Both the delta and review commands offer an output format option, providing you with the flexibility to tailor the results to your liking.

Check command_cli-tool_codescene

 

 

Editor-friendly code analysis with Check Command

Are you using an editor that supports lint-like formatted output? The check command is your go-to option. It analyzes a single file, much like the review command, but the output is formatted in a way that seamlessly integrates with editors like Neomake in Vim. Enhance your coding experience by incorporating CodeScene's check command into your editor, ensuring code quality is at the forefront of your development.

Check command_cli-tool_codescene

The check command gives you CodeScene's Code Health analysis in a linter-style format.

 

Ideal for teams using trunk based development

For teams practicing trunk based development, CodeScene's CLI tool fits right into CI/CD pipelines. Its Git hook integration aligns perfectly with the continuous integration and collaborative nature of trunk based workflows. The delta changes for automated code reviews, coupled with its ability to assess only staged files, ensures that your commits to the trunk are not just fast but also free from code issues. 

 

Machine-readable outputs for advanced automation

In the realm of modern software development, automation is key. CodeScene's CLI tool not only identifies issues but also presents outputs in a machine-readable format. This feature enables effortless integration with other tools and systems, facilitating the creation of sophisticated automation and continuous integration pipelines. Take control of your development process with intelligent, automated code quality checks.

 

Keep speed and efficiency

Experience the benefits of rapid feedback and quicker iterations. By adopting CodeScene's CLI into your workflow, you can make your development cycle more agile and responsive. Timely identification of code issues ensures that your team can address them promptly, leading to improved overall efficiency in your development process. Our CLI works independently of our IDE extension, and therefore can be an alternative or complement no matter where you prefer to write your code.   

 

Maintain low resource utilization

Unlike GUI-based tools that can be resource-intensive, CodeScene's CLI tool operates with minimal system resources. This efficiency translates to faster operations, even on less powerful machines. Keep your development environment lean and agile without compromising on the thoroughness of your code quality checks.

 

Get more flexibility and precision

Tailor the CodeScene CLI tool to suit your specific needs with its high level of flexibility. You can execute precise commands without the clutter of unnecessary GUI elements, allowing you to focus solely on what matters – your code quality. This flexibility empowers developers to incorporate CodeScene seamlessly into their existing workflows, enhancing the overall efficiency of their development processes.

 

Preserve consistency and robustness

CLI tools are renowned for their stability and consistency, making them indispensable for critical tasks like code quality checks. With CodeScene's CLI tool, you can trust in a solution that delivers reliable and consistent results every time. Build confidence in your codebase, knowing that your chosen tool is robust and up to the task of maintaining a high level of code quality.


CodeScene's new CLI tool is a game-changer for developers and teams looking to elevate their code quality effortlessly. With its seamless integration, machine-readable outputs, speed, efficiency, low resource utilization, flexibility, and robustness, this tool is set to become an invaluable asset in your software development toolkit. Embrace the future of code quality management with CodeScene's CLI tool and ensure the longevity and success of your projects. 

Now exclusively available for CodeScene customers. Read the full documentation and reach out to us, we would love to hear your feedback. 

CodeScene Team

CodeScene Team

Elements Image

Subscribe to our newsletter

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Semper neque enim rhoncus vestibulum at maecenas. Ut sociis dignissim.

Latest Articles

CodeScene Receives Best Paper Award at the International Conference on Technical Debt

CodeScene Receives Best Paper Award at the International Conference on...

CodeScene awarded Best Paper at the 7th International Conference on Technical Debt 2024 for groundbreaking insights in the field of technic...

What is technical debt? Let's explore!

What is technical debt? Let's explore!

What is technical debt? Discover how problematic code morphs into technical debt, hindering teams and company progress.  

CodeScene Named Spring 2024 High Performer by G2

CodeScene Named Spring 2024 High Performer by G2

G2, the largest tech marketplace globally, has recognized CodeScene as a High Performer in the Static Code Analysis category for Spring 202...