Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@betterer/cli

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betterer/cli

betterer CLI

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24K
decreased by-17.54%
Maintainers
1
Weekly downloads
 
Created
Source

Betterer

@betterer/cli

npm version

CLI module for Betterer.

Usage

Init

Initialise Betterer in a project

betterer init -c ./path/to/config
Init options
NameDescriptionDefault
-c, --config [value]Path to test definition file relative to CWD./.betterer.ts

Start

Run Betterer

betterer -c ./path/to/config -r ./path/to/results -w
Start options
NameDescriptionDefault
-c, --config [value]Path to test definition file relative to CWD. Takes multiple values./.betterer.ts
-r, --results [value]Path to test results file relative to CWD./.betterer.results
-t, --tsconfig [value]Path to TypeScript config file relative to CWDnull
-f, --filter [value]Select tests to run by RegExp. Takes multiple values[]
-s, --silentDisable all loggingfalse
-u, --updateForce update the results file, even if things get worsefalse
-R, --reporter [value]npm package name or file path to a Betterer reporter. Takes multiple valuesDefault reporter

Watch

Run Betterer in watch mode

betterer watch -c ./path/to/config -r ./path/to/results
Watch options
NameDescriptionDefault
-c, --config [value]Path to test definition file relative to CWD. Takes multiple values./.betterer.ts
-r, --results [value]Path to test results file relative to CWD./.betterer.results
-t, --tsconfig [value]Path to TypeScript config file relative to CWDnull
-f, --filter [value]Select tests to run by RegExp. Takes multiple values[]
-s, --silentDisable all loggingfalse
-u, --updateForce update the results file, even if things get worsefalse
-i, --ignore [value]Ignore files by Glob when running in watch mode. Takes multiple values[]
-R, --reporter [value]npm package name or file path to a Betterer reporter. Takes multiple valuesDefault reporter

FAQs

Package last updated on 02 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc