knqyf263 / pet

Simple command-line snippet manager
MIT License
4.41k stars 222 forks source link

Adding EmptyBackend #236

Closed leandro-deveikis closed 8 months ago

leandro-deveikis commented 8 months ago

Since we are going to use a local repo for syncing, I added an EmptyBackend. This will be used when no backend is configured. If the user runs the sync command, it will ignore it

Example

$ go run ./main.go sync                                           
No backend is configured, skipping sync
Already up-to-date