Skip to content

[skip changelog] Update cobra to latest version #1430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
510 changes: 423 additions & 87 deletions arduino/discovery/discovery_client/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client_example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ replace github.com/arduino/arduino-cli => ../

require (
github.com/arduino/arduino-cli v0.0.0-20200109150215-ffa84fdaab21
google.golang.org/grpc v1.37.0
google.golang.org/grpc v1.38.0
)
506 changes: 421 additions & 85 deletions client_example/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion commands/daemon/term_example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ replace github.com/arduino/arduino-cli => ../../..

require (
github.com/arduino/arduino-cli v0.0.0-20200109150215-ffa84fdaab21
google.golang.org/grpc v1.37.0
google.golang.org/grpc v1.38.0
google.golang.org/protobuf v1.26.0
)
506 changes: 421 additions & 85 deletions commands/daemon/term_example/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docsgen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ replace github.com/arduino/arduino-cli => ../

require (
github.com/arduino/arduino-cli v0.0.0
github.com/spf13/cobra v1.0.1-0.20200710201246-675ae5f5a98c
github.com/spf13/cobra v1.2.1
)
535 changes: 435 additions & 100 deletions docsgen/go.sum

Large diffs are not rendered by default.

15 changes: 7 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,22 @@ require (
github.com/segmentio/stats/v4 v4.5.3
github.com/sergi/go-diff v1.1.0 // indirect
github.com/sirupsen/logrus v1.4.2
github.com/spf13/cobra v1.0.1-0.20200710201246-675ae5f5a98c
github.com/spf13/jwalterweatherman v1.0.0
github.com/spf13/viper v1.6.2
github.com/stretchr/testify v1.6.1
github.com/spf13/cobra v1.2.1
github.com/spf13/jwalterweatherman v1.1.0
github.com/spf13/viper v1.8.1
github.com/stretchr/testify v1.7.0
go.bug.st/cleanup v1.0.0
go.bug.st/downloader/v2 v2.1.1
go.bug.st/relaxed-semver v0.0.0-20190922224835-391e10178d18
go.bug.st/serial v1.1.2
go.bug.st/serial.v1 v0.0.0-20180827123349-5f7892a7bb45 // indirect
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
golang.org/x/net v0.0.0-20210505024714-0287a6fb4125 // indirect
golang.org/x/sys v0.0.0-20210503173754-0981d6026fa6 // indirect
golang.org/x/text v0.3.6
google.golang.org/genproto v0.0.0-20210504143626-3b2ad6ccc450
google.golang.org/grpc v1.37.0
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c
google.golang.org/grpc v1.38.0
google.golang.org/protobuf v1.26.0
gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce // indirect
gopkg.in/src-d/go-git.v4 v4.13.1
gopkg.in/yaml.v2 v2.3.0
gopkg.in/yaml.v2 v2.4.0
)
535 changes: 435 additions & 100 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions test/test_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def test_completion_powershell(run_command):
result = run_command("completion powershell")
assert result.ok
assert result.stderr == ""
assert "Register-ArgumentCompleter -Native -CommandName 'arduino-cli' -ScriptBlock {" in result.stdout
assert "'arduino-cli;completion' {" in result.stdout
assert "# powershell completion for arduino-cli" in result.stdout
assert "Register-ArgumentCompleter -CommandName 'arduino-cli' -ScriptBlock" in result.stdout


def test_completion_bash_no_desc(run_command):
Expand Down