We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dagger functions
I have a module that has 1 constructor argument and a run function. When I call dagger functions, the command treat constructor arg as a function.
run
0.11.4
Use the module from https://github.com/wingyplus/daggerverse/tree/main/earthly. Then run dagger functions. You will see both function and constructor arg listed like the screenshot below:
No response
The text was updated successfully, but these errors were encountered:
This get a little confuse because you cannot call with dagger call source... but it's dagger call --source....
dagger call source...
dagger call --source...
Sorry, something went wrong.
That’s expected because the source function that you’re seeing comes from the Source field in the Earthly struct. So you have both:
source
Source
Earthly
dagger call --source=. source entries
If you don’t want to create a function for that field, you can use // +private.
// +private
Thank you 🙇♂️
No branches or pull requests
What is the issue?
I have a module that has 1 constructor argument and a
run
function. When I calldagger functions
, the command treat constructor arg as a function.Dagger version
0.11.4
Steps to reproduce
Use the module from https://github.com/wingyplus/daggerverse/tree/main/earthly. Then run
dagger functions
. You will see both function and constructor arg listed like the screenshot below:Log output
No response
The text was updated successfully, but these errors were encountered: