Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: client/cmd/buildbucket/main.go

Issue 2227113002: Update bulidbucket client (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/cmd/buildbucket/get.go ('k') | client/cmd/buildbucket/put.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cmd/buildbucket/main.go
diff --git a/client/cmd/buildbucket/main.go b/client/cmd/buildbucket/main.go
deleted file mode 100644
index d06d841216963f3a8065c748e04fed793561ab9e..0000000000000000000000000000000000000000
--- a/client/cmd/buildbucket/main.go
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2016 The LUCI Authors. All rights reserved.
-// Use of this source code is governed under the Apache License, Version 2.0
-// that can be found in the LICENSE file.
-
-package main
-
-import (
- "os"
-
- "github.com/maruel/subcommands"
- "golang.org/x/net/context"
-
- "github.com/luci/luci-go/common/cli"
- "github.com/luci/luci-go/common/logging/gologger"
-)
-
-var logCfg = gologger.LoggerConfig{
- Format: `%{message}`,
- Out: os.Stderr,
-}
-
-var application = &cli.Application{
- Name: "buildbucket",
- Title: "A cli client for buildbucket.",
- Context: func(ctx context.Context) context.Context {
- return logCfg.Use(ctx)
- },
- Commands: []*subcommands.Command{
- cmdPutBatch,
- cmdGet,
- cmdCancel,
- subcommands.CmdHelp,
- },
-}
-
-func main() {
- os.Exit(subcommands.Run(application, os.Args[1:]))
-}
« no previous file with comments | « client/cmd/buildbucket/get.go ('k') | client/cmd/buildbucket/put.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698