mora

command module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

Mora

Mora is a code coverage tracker that integrates with source code management systems (GitHub, Gitea) to monitor and display code coverage for repositories.

Install

go install github.com/iszk1215/mora@latest

Usage

Start the web server
mora web

Options:

  • -p, --port - Port number (default: 4000)
  • -c, --config - Config file path (default: mora.conf)
  • -d, --debug - Enable debug logging
Commands
mora web              # Start web server
mora coverage         # Coverage related commands
mora udm              # User Defined Metrics commands

Configuration

Create a mora.conf file (TOML format) to configure the server and SCM integrations.

UDM (User Defined Metrics)

Track custom metrics with a three-level structure:

  • Metric - Define a metric (e.g., "performance")
  • Item - Add items to a metric (e.g., "response-time")
  • Value - Record values over time (revision, timestamp, value)

CLI usage:

mora udm metric --create metricName/itemName --type int
mora udm metric --list
mora udm value --add metricName/itemName "123"
mora udm value --list metricName/itemName

Development

See AGENTS.md for build commands, test instructions, and project structure.

Quick start for developers
make run    # Run tests and start server with debug mode
make check  # Run linter
make test   # Run all tests

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package mockscm is a generated GoMock package.
Package mockscm is a generated GoMock package.
Package udm is a generated GoMock package.
Package udm is a generated GoMock package.

Jump to

Keyboard shortcuts

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