Extra arguments passed from the command line.
Default builder.
All registered commands.
Fadroma settings.
Currently executing command.
Current working directory at launch of process.
Process environment at lauch of process.
Name of the project.
Root directory of the project.
Contract definitions.
Start of command execution.
Default uploader.
The deploy receipt store implementation selected by format
.
stateless handles for the contract crates corresponding to templates in fadroma.yml
an up-to-date DeployStore
the active deployment
stateless handles for the subdirectories of the project.
stateless handles for various config files that are part of the project.
Define a command after the instance is constructed.
Rest
...steps: Steps<default>this
export default new CommandContext()
.addCommand('foo', 'do one thing', async () => { ... })
.addCommand('bar', 'do another thing', () => { ... })
Define a command subtree after the instance is constructed.
this
export default new CommandContext()
.addCommands('empty', 'do nothing in new context', new CommandContext())
.addCommands('baz', 'do some more things', new CommandContext()
.addCommand(...)
.addCommand(...))
Define a command during construction.
the passed command
class MyCommands extends CommandContext {
doThing = this.command('do-thing', 'command example', async function doThing () {
// implementation
})
}
Define a command subtree during construction.
the passed command subtree
class MyCommands extends CommandContext {
doThings = this.commands('sub', 'command subtree example', new SubCommands())
}
class SubCommands extends CommandContext {
// ...
}
Rest
...args: string[]Get the active deployment or a named deployment.
Optional
name: stringDeployment|null
Rest
...args: string[]Optional
name: stringStatic
loadStatic
wizardGenerated using TypeDoc
Default deployment class.