Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

blox schema commands fail on missing repository.cue #139

Open
cnunciato opened this issue Apr 2, 2022 · 2 comments
Open

blox schema commands fail on missing repository.cue #139

cnunciato opened this issue Apr 2, 2022 · 2 comments

Comments

@cnunciato
Copy link

Working with a new project with a blox.cue at the root, the blox schema commands don't seem to work:

.
├── _build
│   └── data.json
├── blox.cue
├── data
│   ...
├── schemata
│   ├── page.cue
│   ├── person.cue
│   ├── post.cue
└── static

$ blox schema list
Error: open repository.cue: no such file or directory

$ blox schema new thing
Error: open repository.cue: no such file or directory

Am I maybe using them wrong? (I believe I just followed the guide and ran blox init to create this structure.)

@rawkode
Copy link
Collaborator

rawkode commented Apr 3, 2022

Sorry, @cnunciato. These commands are a little under documented. The schema subcommand is for working with schema repositories, rather than local Blox schema. We actually planned to just remove the repository and schema subcommands in the interim.

@cnunciato
Copy link
Author

cnunciato commented Apr 3, 2022

Oh, no apology necessary @rawkode! I was just wondering whether I was doing something wrong or had overlooked something in the documentation.

Feel free to close this, then, unless you'd like to use it for tracking somehow.

It'd be great to hear more about where you're thinking of heading with these, though. Were you imagining being able to support multiple (e.g., Git) repositories of content somehow?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants