Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any chance of getting a human readable DB? #120

Closed
seivan opened this issue Jan 25, 2022 · 2 comments
Closed

Any chance of getting a human readable DB? #120

seivan opened this issue Jan 25, 2022 · 2 comments

Comments

@seivan
Copy link

seivan commented Jan 25, 2022

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?

@Ninjani
Copy link
Member

Ninjani commented Jan 26, 2022

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?

@seivan
Copy link
Author

seivan commented Nov 27, 2023

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 seivan closed this as completed Nov 27, 2023
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

No branches or pull requests

2 participants