drop-calf
No long description provided.
Installation
dagger install github.com/ibuchanan/ranch-rig-drop-calf@73d49922bba1f7de5347668a54e31a69dbb4987bEntrypoint
Return Type
DropCalf Example
dagger -m github.com/ibuchanan/ranch-rig-drop-calf@73d49922bba1f7de5347668a54e31a69dbb4987b call \
func (m *MyModule) Example() *dagger.DropCalf {
return dag.
Dropcalf()
}@function
def example() -> dagger.DropCalf:
return (
dag.drop_calf()
)@func()
example(): DropCalf {
return dag
.dropCalf()
}Types
DropCalf 🔗
init() 🔗
First-time setup of an empty directory or a forge create repository.
Refuse when catalog-info.yaml or .atlassian/OWNER exists at the project root;
use update for maintenance.
Otherwise remove the scaffold files Drop Calf replaces, generate the
profile’s files over what is left, and keep the scaffold’s runtime dependencies.
Scaffold steps are declared per kind; forge-app adopts root src JavaScript as
TypeScript and updates matching resource paths without editing source
contents or relaxing strict checks.
Normalize the manifest runtime from .nvmrc in the final update pass.
Package naming: explicit name, nonblank scaffold name, workspace basename.
Catalog owns package identity; the owner staff ID is the package author.
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| directory | Directory ! | - | No description provided |
| profile | String ! | - | No description provided |
| owner | String ! | - | No description provided |
| packageName | String | - | No description provided |
| description | String ! | "" | No description provided |
| withFunctions | [String ! ] | - | No description provided |
| withoutFunctions | [String ! ] | - | No description provided |
| preset | String | - | No description provided |
Example
dagger -m github.com/ibuchanan/ranch-rig-drop-calf@73d49922bba1f7de5347668a54e31a69dbb4987b call \
init --directory DIR_PATH --profile string --owner string --description stringfunc (m *MyModule) Example(directory *dagger.Directory, profile string, owner string, description string) *dagger.Directory {
return dag.
Dropcalf().
Init(directory, profile, owner, description)
}@function
def example(directory: dagger.Directory, profile: str, owner: str, description: str) -> dagger.Directory:
return (
dag.drop_calf()
.init(directory, profile, owner, description)
)@func()
example(directory: Directory, profile: string, owner: string, description: string): Directory {
return dag
.dropCalf()
.init(directory, profile, owner, description)
}initChanges() 🔗
init as a changeset, so deleted scaffold files are deleted on export.
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| directory | Directory ! | - | No description provided |
| profile | String ! | - | No description provided |
| owner | String ! | - | No description provided |
| packageName | String | - | No description provided |
| description | String ! | "" | No description provided |
| withFunctions | [String ! ] | - | No description provided |
| withoutFunctions | [String ! ] | - | No description provided |
| preset | String | - | No description provided |
Example
dagger -m github.com/ibuchanan/ranch-rig-drop-calf@73d49922bba1f7de5347668a54e31a69dbb4987b call \
init-changes --directory DIR_PATH --profile string --owner string --description stringfunc (m *MyModule) Example(directory *dagger.Directory, profile string, owner string, description string) *dagger.Changeset {
return dag.
Dropcalf().
Initchanges(directory, profile, owner, description)
}@function
def example(directory: dagger.Directory, profile: str, owner: str, description: str) -> dagger.Changeset:
return (
dag.drop_calf()
.initchanges(directory, profile, owner, description)
)@func()
example(directory: Directory, profile: string, owner: string, description: string): Changeset {
return dag
.dropCalf()
.initChanges(directory, profile, owner, description)
}update() 🔗
Apply only the selected capabilities’ update policies; never run scaffold steps.
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| directory | Directory ! | - | No description provided |
| profile | String ! | - | No description provided |
| withFunctions | [String ! ] | - | No description provided |
| withoutFunctions | [String ! ] | - | No description provided |
| preset | String | - | No description provided |
Example
dagger -m github.com/ibuchanan/ranch-rig-drop-calf@73d49922bba1f7de5347668a54e31a69dbb4987b call \
update --directory DIR_PATH --profile stringfunc (m *MyModule) Example(directory *dagger.Directory, profile string) *dagger.Directory {
return dag.
Dropcalf().
Update(directory, profile)
}@function
def example(directory: dagger.Directory, profile: str) -> dagger.Directory:
return (
dag.drop_calf()
.update(directory, profile)
)@func()
example(directory: Directory, profile: string): Directory {
return dag
.dropCalf()
.update(directory, profile)
}validate() 🔗
Read-only tool acceptance report, including skipped checks and all failures.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| directory | Directory ! | - | No description provided |
| profile | String ! | - | No description provided |
| withFunctions | [String ! ] | - | No description provided |
| withoutFunctions | [String ! ] | - | No description provided |
| preset | String | - | No description provided |
| forgeEmail | Secret | - | No description provided |
| forgeApiToken | Secret | - | No description provided |
Example
dagger -m github.com/ibuchanan/ranch-rig-drop-calf@73d49922bba1f7de5347668a54e31a69dbb4987b call \
validate --directory DIR_PATH --profile stringfunc (m *MyModule) Example(ctx context.Context, directory *dagger.Directory, profile string) string {
return dag.
Dropcalf().
Validate(ctx, directory, profile)
}@function
async def example(directory: dagger.Directory, profile: str) -> str:
return await (
dag.drop_calf()
.validate(directory, profile)
)@func()
async example(directory: Directory, profile: string): Promise<string> {
return dag
.dropCalf()
.validate(directory, profile)
}