github.com/elves/elvish@v0.15.0/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  	"github.com/elves/elvish/pkg/buildinfo"
    11  	"github.com/elves/elvish/pkg/daemon"
    12  	"github.com/elves/elvish/pkg/prog"
    13  	"github.com/elves/elvish/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  }