validate

command
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command validate shows how to read a spec package with the afspec library and check it: load the artifacts, run schema and cross-file validation, and report the coverage and traceability the format derives from them.

go run ./examples/validate DIR

DIR is a spec package directory, e.g. .specs/01_greet_command. The exit code is 0 for a valid package, 1 for an invalid one or one that cannot be read, 2 for a usage error.

Jump to

Keyboard shortcuts

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