Skip to content

S6: catalog inspection — relix catalog files/ls/schema/where #10

Closed

Description

@david-Darkcollective

Part of #17. Design: docs/design.md §5.3.

Scope

  • relix catalog files: every file loaded, in order, with the names each declared and whether it was trusted.
  • relix catalog ls: name, kind, arity and defining file.
  • relix catalog schema NAME: columns and types.
  • relix catalog where NAME: the declaration that won and the ones it shadowed.

ls and schema are queries over the engine's introspection relations (relix.relations, relix.columns), rendered through the S2 row renderers, so they come out as TSV or NDJSON in a pipe.

Dependencies

Acceptance

  • Each subcommand over a multi-level fixture tree, in table and tsv.
  • where reports shadowed declarations.
  • schema on an unknown name exits 3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliThe relix command itselfbacklogNot yet scheduledenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions