launchrail

command
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

README

launchrail (CLI Entry Point)

This package provides the primary command-line interface for Launchrail.

Responsibility:

  • Parse flags and environment configuration.
  • Initialize dependencies: storage, simulation manager, logger.
  • Wire together components to run simulations.

Contract:

  • Exposes main() which reads --config and --benchdata flags.
  • Entrypoint for CI benchmarks via cmd/bench suite.

Test Suite Overview:

  • No direct tests; behavior validated indirectly via cmd/bench benchmarks and handlers_test.go.

Decisions & Gotchas:

  • Relies on external config.yaml for engine parameters.
  • Errors during initialization abort the process with non-zero exit.
  • Benchmarks in cmd/bench call this CLI under the hood; keep flags backward-compatible.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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