Commit af626772 authored by Addshore's avatar Addshore 🏄
Browse files

Add gitlab command, reusing profclems/glab

parent 629c3d1e
/*Package cmd is used for command line.
Copyright © 2020 Addshore
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package cmd
import (
"github.com/profclems/glab/commands"
"github.com/profclems/glab/commands/cmdutils"
"github.com/profclems/glab/pkg/glinstance"
)
func init() {
cmdFactory := cmdutils.NewFactory()
glinstance.OverrideDefault("gitlab.wikimedia.org")
rootCmd.AddCommand(commands.NewCmdRoot(cmdFactory, "mwcli", "1.20-addshore-test-003"))
}
......@@ -5,33 +5,45 @@ require (
github.com/Microsoft/go-winio v0.5.0 // indirect
github.com/ahmetb/govvv v0.3.0
github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38
github.com/alecthomas/chroma v0.9.2 // indirect
github.com/alecthomas/colour v0.1.0 // indirect
github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142 // indirect
github.com/blang/semver v3.5.1+incompatible
github.com/briandowns/spinner v1.11.1
github.com/containerd/containerd v1.4.4 // indirect
github.com/docker/distribution v2.7.1+incompatible // indirect
github.com/docker/docker v20.10.6+incompatible
github.com/briandowns/spinner v1.16.0
github.com/containerd/containerd v1.5.5 // indirect
github.com/docker/docker v20.10.8+incompatible
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/joho/godotenv v1.3.0
github.com/manifoldco/promptui v0.7.0
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
github.com/joho/godotenv v1.4.0
github.com/juju/ansiterm v0.0.0-20210706145210-9283cdf370b5 // indirect
github.com/manifoldco/promptui v0.8.0
github.com/microcosm-cc/bluemonday v1.0.15 // indirect
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.1 // indirect
github.com/muesli/reflow v0.3.0 // indirect
github.com/profclems/glab v1.20.0
github.com/rhysd/go-github-selfupdate v1.2.3
github.com/rivo/tview v0.0.0-20210923051754-2cb20002bc4c // indirect
github.com/sergi/go-diff v1.2.0 // indirect
github.com/spf13/cobra v1.0.0
github.com/stretchr/testify v1.6.1 // indirect
github.com/spf13/cobra v1.2.1
github.com/txn2/txeh v1.3.0
github.com/xanzy/go-gitlab v0.50.4
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect
golang.org/x/sys v0.0.0-20210921065528-437939a70204 // indirect
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
gotest.tools/v3 v3.0.3 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/xanzy/go-gitlab v0.51.1
github.com/yuin/goldmark v1.4.1 // indirect
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
golang.org/x/net v0.0.0-20210924151903-3ad01bbaa167 // indirect
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
golang.org/x/sys v0.0.0-20210923061019-b8560ed6a9b7 // indirect
golang.org/x/term v0.0.0-20210916214954-140adaaadfaf
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0 // indirect
)
go 1.13
replace github.com/profclems/glab v1.20.0 => github.com/addshore/glab v1.20.0-addshore-test-004
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment