aboutsummaryrefslogtreecommitdiff
path: root/internal/commands/add.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-25 09:56:14 +0000
committerFuwn <[email protected]>2024-10-25 10:12:22 +0000
commit4b64fdd0cd1709b8b4ce3a0aff50f2e1e8f30fbb (patch)
tree65a3d5c4ad125dfde8981d0f9ab97815bcae7aaf /internal/commands/add.go
parentfix(source): dynamically identify host (diff)
downloadyae-4b64fdd0cd1709b8b4ce3a0aff50f2e1e8f30fbb.tar.xz
yae-4b64fdd0cd1709b8b4ce3a0aff50f2e1e8f30fbb.zip
feat(yae): add optional schema field
Diffstat (limited to 'internal/commands/add.go')
-rw-r--r--internal/commands/add.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commands/add.go b/internal/commands/add.go
index 1b32533..07bee28 100644
--- a/internal/commands/add.go
+++ b/internal/commands/add.go
@@ -50,7 +50,7 @@ func AddFlags() []cli.Flag {
}
}
-func Add(sources *yae.Sources) func(c *cli.Context) error {
+func Add(sources *yae.Environment) func(c *cli.Context) error {
return func(c *cli.Context) error {
if c.Args().Len() != 2 {
return fmt.Errorf("invalid number of arguments")