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.)
data-type create --helppoints users atcatalog --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-onlyreturns 10 objects, not 5. Each of the five base types appears twice, and the pairs differ:categories["annotations","base_type"]["annotations","base_type","shared_type"]recordabletruefalsefulcra_useridCopy B comes from a share. Picking it and passing it to
data-type createis a dead end that only surfaces later.Adding
--recordable-onlyreturns exactly the 5 recordable base types (MomentAnnotation,DurationAnnotation,NumericAnnotation,ScaleAnnotation,BooleanAnnotation), no duplicates.The CLI already knows this —
record --helpsays:So the two help texts disagree about how to list selectable types. Suggest
data-type create --helpsaycatalog --base-types-only --recordable-onlyto match.(Filed separately from #92, which covers the
fulcravsfulcra-apibinary name in the same help blocks.)