htmlcov

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

GitHub Actions CI Status GoReportCard Codebeat badge GitHub Actions CodeQL Status

InstallationCommand-line completionMan documentationUsageCI StatusContributingLicense


htmlcov is utility for converting coverage profiles into HTML pages.

Installation

From source

To build the htmlcov from scratch, make sure you have a working Go 1.17+ workspace (instructions), then:

go install github.com/essentialkaos/htmlcov@latest

Prebuilt binaries

You can download prebuilt binaries for Linux and macOS from EK Apps Repository:

bash <(curl -fsSL https://apps.kaos.st/get) htmlcov

Command-line completion

You can generate completion for bash, zsh or fish shell.

Bash:

sudo htmlcov --completion=bash 1> /etc/bash_completion.d/htmlcov

ZSH:

sudo htmlcov --completion=zsh 1> /usr/share/zsh/site-functions/htmlcov

Fish:

sudo htmlcov --completion=fish 1> /usr/share/fish/vendor_completions.d/htmlcov.fish

Man documentation

You can generate man page using next command:

htmlcov --generate-man | sudo gzip > /usr/share/man/man1/htmlcov.1.gz

Usage

Usage: htmlcov {options} coverage-file

Options

  --output, -o file    Output file (default: coverage.html)
  --remove, -r         Delete input file after successful generation
  --no-color, -nc      Disable colors in output
  --help, -h           Show this help message
  --version, -v        Show version

CI Status

Branch Status
master CI
develop CI

Contributing

Before contributing to this project please read our Contributing Guidelines.

License

Apache License, Version 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL