github.com/kolbycrouch/elvish@v0.14.1-0.20210614162631-215b9ac1c423/cmd/withweb/elvish/main.go (about) 1 // Command elvish is an alternative main program of Elvish that includes the web 2 // subprogram. 3 package main 4 5 import ( 6 "os" 7 8 "src.elv.sh/pkg/buildinfo" 9 "src.elv.sh/pkg/daemon" 10 "src.elv.sh/pkg/prog" 11 "src.elv.sh/pkg/shell" 12 "src.elv.sh/pkg/web" 13 ) 14 15 func main() { 16 os.Exit(prog.Run( 17 [3]*os.File{os.Stdin, os.Stdout, os.Stderr}, os.Args, 18 buildinfo.Program, daemon.Program, web.Program, shell.Program)) 19 }