| OLD | NEW |
| 1 // Copyright 2015 The LUCI Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package main | 5 package main |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "log" | 8 "log" |
| 9 "os" | 9 "os" |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 var opts = auth.Options{} | 21 var opts = auth.Options{} |
| 22 | 22 |
| 23 var application = &subcommands.DefaultApplication{ | 23 var application = &subcommands.DefaultApplication{ |
| 24 Name: "isolated", | 24 Name: "isolated", |
| 25 Title: "isolateserver.py but faster", | 25 Title: "isolateserver.py but faster", |
| 26 // Keep in alphabetical order of their name. | 26 // Keep in alphabetical order of their name. |
| 27 Commands: []*subcommands.Command{ | 27 Commands: []*subcommands.Command{ |
| 28 cmdArchive, | 28 cmdArchive, |
| 29 cmdDownload, | 29 cmdDownload, |
| 30 subcommands.CmdHelp, | 30 subcommands.CmdHelp, |
| 31 » » authcli.SubcommandInfo(opts, "info"), | 31 » » authcli.SubcommandInfo(opts, "info", false), |
| 32 » » authcli.SubcommandLogin(opts, "login"), | 32 » » authcli.SubcommandLogin(opts, "login", false), |
| 33 » » authcli.SubcommandLogout(opts, "logout"), | 33 » » authcli.SubcommandLogout(opts, "logout", false), |
| 34 common.CmdVersion(version), | 34 common.CmdVersion(version), |
| 35 }, | 35 }, |
| 36 } | 36 } |
| 37 | 37 |
| 38 func main() { | 38 func main() { |
| 39 log.SetFlags(log.Lmicroseconds) | 39 log.SetFlags(log.Lmicroseconds) |
| 40 os.Exit(subcommands.Run(application, nil)) | 40 os.Exit(subcommands.Run(application, nil)) |
| 41 } | 41 } |
| OLD | NEW |