github.com/jkawamoto/roadie-azure@v0.3.5/main.go (about) 1 // 2 // main.go 3 // 4 // Copyright (c) 2017 Junpei Kawamoto 5 // 6 // This file is part of Roadie Azure. 7 // 8 // Roadie Azure is free software: you can redistribute it and/or modify 9 // it under the terms of the GNU General Public License as published by 10 // the Free Software Foundation, either version 3 of the License, or 11 // (at your option) any later version. 12 // 13 // Roadie Azure is distributed in the hope that it will be useful, 14 // but WITHOUT ANY WARRANTY; without even the implied warranty of 15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 // GNU General Public License for more details. 17 // 18 // You should have received a copy of the GNU General Public License 19 // along with Roadie Azure. If not, see <http://www.gnu.org/licenses/>. 20 // 21 22 package main 23 24 import ( 25 "os" 26 27 "github.com/urfave/cli" 28 ) 29 30 func main() { 31 32 app := cli.NewApp() 33 app.Name = Name 34 app.Version = Version 35 app.Author = Author 36 app.Email = Email 37 app.Usage = "Roadie script handler for Azure" 38 39 app.Flags = GlobalFlags 40 app.Commands = Commands 41 app.CommandNotFound = CommandNotFound 42 app.EnableBashCompletion = true 43 app.Copyright = `roadie-azure Copyright (C) 2017 Junpei Kawamoto 44 45 This program comes with ABSOLUTELY NO WARRANTY. 46 This is free software, and you are welcome to redistribute it 47 under certain conditions.` 48 49 app.Run(os.Args) 50 51 }