publiclab / matcher-cli

Node-based CLI utility for local matcher-core configs headless testing 🎈
GNU General Public License v3.0
1 stars 7 forks source link

matcher-cli: CLI utility for matcher-core

Build Status LICENCE

Description

Note: This library primarily consists of utilities for developers, and not necessarily required for projects which are using matcher-core directly, but can be useful as a toolkit for diagnostics and debugging purposes.

A Node-based CLI utility for headlessly testing custom matcher-core configurations, this module eases any development process on the matcher-core library by allowing the user to run a set of commands on their locally puppeteer-deployed Chromium environment in a headless manner, i.e., right from the CLI, without the need to open the browser whatsoever, be it testing, demonstration, debugging issues, etc.

matcher-cli enables headless support for all of these tasks, and can easily integrate with your choice of CI to automate any of the above tasks right inside your CI. For more details on automating tasks and cross-posting to different sites (including issues and PRs on GitHub), checkout the ci-ops branch of this repository.

Interactive Demonstration

$ bash <(curl -s https://gist.githubusercontent.com/rexagod/6e1a2cfdc18e1b12ff8d64b5d4e6985a/raw/e5cf33c9bb2427f25d8394d0e007cabc40a8a5da/cli-demo.sh)

Installation

Building from source

Codeflow

Points are stated according in order of occurrence of their code segments.

LICENSE

GNU-General-Public-License-v3.0