Skip to content

Comments

cli: improve --dump and add --load#168

Merged
sondove merged 2 commits intonovem-code:mainfrom
sondove:sen/load
Jan 26, 2026
Merged

cli: improve --dump and add --load#168
sondove merged 2 commits intonovem-code:mainfrom
sondove:sen/load

Conversation

@sondove
Copy link
Contributor

@sondove sondove commented Jan 26, 2026

As we now have access to the x-nvm-default header to know if an endpoint contains a non-default value we can now be more selective in what we dump from a vis.

It's also nice to be able to "load" the content of the files back into the platform as well.

With the new --load command it is now possible to point it to a folder and have the cli recurse through the endpoints and write the content to the server.

Very practical if you have a bunch of stored novem vis in a tree structure

This allows us to `--load` folders that have been `--dumped`
Copy link
Contributor

@bjornars bjornars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as you're deliberate in putting this in novem-cli and not just a tool in ./do in gaia 🚀

@sondove
Copy link
Contributor Author

sondove commented Jan 26, 2026

As long as you're deliberate in putting this in novem-cli and not just a tool in ./do in gaia 🚀

Yeah, this along with gql feels very much like general utilities I hope our wider audience can enjoy at some point.

@sondove sondove merged commit 67bc6d0 into novem-code:main Jan 26, 2026
4 checks passed
@sondove sondove deleted the sen/load branch January 27, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants