class App

Overview

Main application class for generating CycloneDX SBOMs from Crystal Shard files. Handles command-line argument parsing, file reading, and SBOM generation.

Defined in:

app.cr

Constant Summary

DEFAULT_FORMAT = "json"
DEFAULT_LOCK_FILE = "shard.lock"
DEFAULT_SHARD_FILE = "shard.yml"
DEFAULT_VERSION = "1.6"
SUPPORTED_FORMATS = ["json", "xml", "csv"]
SUPPORTED_VERSIONS = ["1.4", "1.5", "1.6", "1.7"]

Instance Method Summary

Instance Method Detail

def run #

Runs the main application logic.


[View source]