the-way icon indicating copy to clipboard operation
the-way copied to clipboard

Any chance of getting a human readable DB?

Open seivan opened this issue 3 years ago • 1 comments

Pet seems to no longer be maintained and is plagued by bugs and lacks configuration. But one of it strength is the human readable snippets toml files that can be edited. I only use it for shell snippets, since docker is a nightmare. One of my use cases is actually editing the toml file directly in sublime for what I need.

Is there a way to do that now, or is that some extensive work?

seivan avatar Jan 25 '22 15:01 seivan

Since the-way supports any language and snippets of any size I imagine a toml file would get unwieldy pretty fast for people who don't only have shell snippets.

I agree that a human readable single file or set of files would be useful though, especially if you want to make similar changes across many snippets at once. One possibility that already exists is to sync to a Gist and edit the Gist instead (this can be done locally as well). Is this something that could make sense for your use case?

Ninjani avatar Jan 26 '22 21:01 Ninjani

One possibility that already exists is to sync to a Gist and edit the Gist instead (this can be done locally as well). Is this something that could make sense for your use case?

Sorry for the delay.

No that solution would be too cumbersome. Inherently I'd like whatever I am using to store snippets to be human readable on the off chance the program is no longer supported and it would be easy for me to just grep. Just a policy, thanks anyway.

seivan avatar Nov 27 '23 07:11 seivan