github.com/scaleway/scaleway-cli@v1.11.1/cmd/scw/main.go (about)

     1  // Copyright (C) 2015 Scaleway. All rights reserved.
     2  // Use of this source code is governed by a MIT-style
     3  // license that can be found in the LICENSE.md file.
     4  
     5  // Manage BareMetal Servers from Command Line (as easily as with Docker)
     6  
     7  // +build go1.5
     8  
     9  package main
    10  
    11  import (
    12  	"os"
    13  
    14  	"github.com/Sirupsen/logrus"
    15  	"github.com/scaleway/scaleway-cli/pkg/cli"
    16  )
    17  
    18  func main() {
    19  	ec, err := cli.Start(os.Args[1:], nil)
    20  	if err != nil {
    21  		logrus.Fatalf("%s", err)
    22  	}
    23  	os.Exit(ec)
    24  }