#I'm getting this error unless I add the
1 messages · Page 1 of 1 (latest)
Yeah, that's because you don't have a default value for source, so it's a required argument.
If you're looking for how to set that default, see https://docs.dagger.io/api/arguments#directories-and-files
Oh? What's the full command you're using?
It's possible that flag isn't in the right place
dagger call build --source=.
It has to be:
dagger call --source=. build
Otherwise you're trying to pass that value to the Build function, instead of the constructor.