Skip to content

feat: JSON catalogue output for scripting #25

@acscpt

Description

@acscpt

Add a JSON output format to the cat command for machine-readable catalogue data.

Use case

The cat command produces human-readable tabular output intended for the terminal. When scripting - indexing large collections, generating web catalogues, or feeding data into other tools - structured output is needed. Parsing the terminal table is fragile and breaks when the display format changes.

Proposed behaviour

beebtools cat mydisc.ssd --format json
beebtools cat mydisc.adf --format json

Outputs the full catalogue as a JSON object including disc title, boot option, and an array of file entries with all metadata (name, directory, load address, exec address, length, locked status, start sector).

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogFor future considerationcliCommand-line interfaceenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions