diff --git a/pages/common/dagger.md b/pages/common/dagger.md new file mode 100644 index 0000000000..d9a7dcef44 --- /dev/null +++ b/pages/common/dagger.md @@ -0,0 +1,36 @@ +# dagger + +> Programmable CI/CD engine that runs pipelines in containers locally, in CI, or in the cloud. +> More information: . + +- Initialize a new module with the specified SDK: + +`dagger init --sdk {{go|python|typescript}} {{path/to/module}}` + +- Prepare a local module for development: + +`dagger develop` + +- List available functions in the current module: + +`dagger functions` + +- Call a function on the current module: + +`dagger call {{function_name}}` + +- Install a module dependency from a Git repository: + +`dagger install {{github.com/user/repo}}` + +- Update a module's dependencies: + +`dagger update` + +- Display help: + +`dagger {{[-h|--help]}}` + +- Display version: + +`dagger version`