github.com/kolbycrouch/elvish@v0.14.1-0.20210614162631-215b9ac1c423/cmd/elvish/main.go (about) 1 // Elvish is a cross-platform shell, supporting Linux, BSDs and Windows. It 2 // features an expressive programming language, with features like namespacing 3 // and anonymous functions, and a fully programmable user interface with 4 // friendly defaults. It is suitable for both interactive use and scripting. 5 package main 6 7 import ( 8 "os" 9 10 "src.elv.sh/pkg/buildinfo" 11 "src.elv.sh/pkg/daemon" 12 "src.elv.sh/pkg/prog" 13 "src.elv.sh/pkg/shell" 14 ) 15 16 func main() { 17 os.Exit(prog.Run( 18 [3]*os.File{os.Stdin, os.Stdout, os.Stderr}, os.Args, 19 buildinfo.Program, daemon.Program, shell.Program)) 20 }