copilot-setup
No long description provided.
Installation
dagger install github.com/StaytunedLLP/devops/dagger-modules/copilot-setup@30d07e2f16e96a634fd98d8343d25a8f73d1284fEntrypoint
Return Type
CopilotSetup Example
dagger -m github.com/StaytunedLLP/devops/dagger-modules/copilot-setup@30d07e2f16e96a634fd98d8343d25a8f73d1284f call \
func (m *MyModule) Example() *dagger.CopilotSetup {
return dag.
CopilotSetup()
}@function
def example() -> dagger.CopilotSetup:
return (
dag.copilot_setup()
)@func()
example(): CopilotSetup {
return dag
.copilotSetup()
}Types
CopilotSetup 🔗
prepareNodeWorkspace() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory ! | - | No description provided |
| nodeAuthToken | Secret ! | - | No description provided |
| packagePaths | String ! | "." | No description provided |
| playwrightInstall | Boolean ! | false | No description provided |
| firebaseTools | Boolean ! | false | No description provided |
Example
dagger -m github.com/StaytunedLLP/devops/dagger-modules/copilot-setup@30d07e2f16e96a634fd98d8343d25a8f73d1284f call \
prepare-node-workspace --source DIR_PATH --node-auth-token env:MYSECRET --package-paths string --playwright-install boolean --firebase-tools booleanfunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory, nodeAuthToken *dagger.Secret, packagePaths string, playwrightInstall bool, firebaseTools bool) string {
return dag.
CopilotSetup().
PrepareNodeWorkspace(ctx, source, nodeAuthToken, packagePaths, playwrightInstall, firebaseTools)
}@function
async def example(source: dagger.Directory, node_auth_token: dagger.Secret, package_paths: str, playwright_install: bool, firebase_tools: bool) -> str:
return await (
dag.copilot_setup()
.prepare_node_workspace(source, node_auth_token, package_paths, playwright_install, firebase_tools)
)@func()
async example(source: Directory, nodeAuthToken: Secret, packagePaths: string, playwrightInstall: boolean, firebaseTools: boolean): Promise<string> {
return dag
.copilotSetup()
.prepareNodeWorkspace(source, nodeAuthToken, packagePaths, playwrightInstall, firebaseTools)
}