vieter/src/server/cli.v

17 lines
250 B
Coq
Raw Normal View History

module server
import cli
import env
pub fn cmd() cli.Command {
return cli.Command{
name: 'server'
description: 'Start the Vieter server'
execute: fn (cmd cli.Command) ? {
conf := env.load<env.ServerConfig>() ?
2022-04-06 16:57:27 +02:00
server(conf) ?
}
}
}