Classvapor 4.114.1Vapor
BootCommand
Boots the Application
then exits successfully.
final class BootCommand
$ swift run Run boot
Done.
Boots the Application
then exits successfully.
final class BootCommand
$ swift run Run boot
Done.
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
protocol AnyAsyncCommand : Sendable
A type-erased Command
.
protocol AsyncCommand : AnyAsyncCommand
A command that can be run through a Console
.
protocol Sendable
init()
Create a new BootCommand
.
var help: String { get }
func run(using context: ConsoleKitCommands.CommandContext, signature: Signature) async throws
struct Signature
func outputAutoComplete(using context: inout CommandContext)
func outputHelp(using context: inout CommandContext)
func renderCompletionFunctions(using context: CommandContext, shell: Shell) -> String
func renderCompletionScript(using context: CommandContext, shell: Shell) -> String
Returns the complete contents of a completion script for the given shell
for self
and, recursively, all of its descendent subcommands.
func run(using context: inout CommandContext) async throws