Command-Line Interface (CLI)

Command-Line Interface (CLI) image
A Command-Line Interface (CLI) is a text-based interface that allows users to interact with software or operating systems by typing commands into a terminal or console. Instead of using UI elements (buttons, menus, date pickers), users issue structured commands with options and arguments to perform tasks.

Testers may use the CLI in a variety of use-cases:
  • Running tests e.g. npx playwright test landing-page.spec.ts
  • Environment setup e.g. docker-compose up -d test-db
  • Searching logs e.g. grep -i 'my-error-here' * 
Explore MoT
RBCN 2026 image
Tue, 10 Feb
Where the Robot Framework community shines brightest.
MoT Software Testing Essentials Certificate image
Boost your career in software testing with the MoT Software Testing Essentials Certificate. Learn essential skills, from basic testing techniques to advanced risk analysis, crafted by industry experts.
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.