Skip to content

data-type create --help recommends catalog --base-types-only, which also returns non-recordable shared types #93

Description

@ashfulcra

data-type create --help points users at catalog --base-types-only, but that command also returns base types the caller cannot record into — so the documented way to pick a base type can hand you an invalid choice.

Against 0.1.40, catalog --base-types-only returns 10 objects, not 5. Each of the five base types appears twice, and the pairs differ:

copy A copy B
categories ["annotations","base_type"] ["annotations","base_type","shared_type"]
recordable true false
fulcra_userid caller's own a different account

Copy B comes from a share. Picking it and passing it to data-type create is a dead end that only surfaces later.

Adding --recordable-only returns exactly the 5 recordable base types (MomentAnnotation, DurationAnnotation, NumericAnnotation, ScaleAnnotation, BooleanAnnotation), no duplicates.

The CLI already knows this — record --help says:

DATA_TYPE: ID of a Fulcra Data Type. Run `fulcra catalog --recordable-only`

So the two help texts disagree about how to list selectable types. Suggest data-type create --help say catalog --base-types-only --recordable-only to match.

(Filed separately from #92, which covers the fulcra vs fulcra-api binary name in the same help blocks.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions