| // Copyright 2017 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "os" | |
| "github.com/google/subcommands" | |
| "go.chromium.org/luci/common/logging/gologger" | |
| ) | |
| func main() { | |
| subcommands.Register(&UploadCommand{}, "") | |
| flag.Parse() | |
| ctx := gologger.StdConfig.Use(context.Background()) | |
| os.Exit(int(subcommands.Execute(ctx))) | |
| } |