feat(migrate): add package handling

This commit is contained in:
Federico Terzi 2021-05-29 10:28:09 +02:00
parent ec73edba24
commit 4388fc0ba6
5 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,3 @@
matches:
- trigger: "custom"
replace: "match"

View File

@ -0,0 +1,3 @@
matches:
- trigger: "package_foo"
replace: "package_bar"

View File

@ -0,0 +1,9 @@
---
package_name: "foo"
package_title: "Foo"
package_desc: "Foo package"
package_version: "0.1.0"
package_author: "Federico Terzi"
package_repo: "https://github.com/federico-terzi/espanso-hub-core"
---
Test package

View File

@ -0,0 +1,6 @@
name: foo
parent: default
matches:
- trigger: "custom"
replace: "match"

View File

@ -0,0 +1,6 @@
name: foo
parent: default
matches:
- trigger: "package_foo"
replace: "package_bar"