diff --git a/CHANGELOG.md b/CHANGELOG.md index ddbdc67d3b..4305847027 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ ## [Unreleased] -- No changes yet. +- Add `buf beta registry whoami` command, which checks if you are logged in to the Buf Schema + Registry at a given domain. ## [v1.45.0] - 2024-10-08 diff --git a/private/buf/cmd/buf/command/beta/registry/whoami/usage.gen.go b/private/buf/cmd/buf/command/beta/registry/whoami/usage.gen.go new file mode 100644 index 0000000000..d260922272 --- /dev/null +++ b/private/buf/cmd/buf/command/beta/registry/whoami/usage.gen.go @@ -0,0 +1,19 @@ +// Copyright 2020-2024 Buf Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated. DO NOT EDIT. + +package whoami + +import _ "github.com/bufbuild/buf/private/usage" diff --git a/private/buf/cmd/buf/command/beta/registry/whoami/whoami.go b/private/buf/cmd/buf/command/beta/registry/whoami/whoami.go index 59bbacb7c4..06e760110f 100644 --- a/private/buf/cmd/buf/command/beta/registry/whoami/whoami.go +++ b/private/buf/cmd/buf/command/beta/registry/whoami/whoami.go @@ -1,3 +1,17 @@ +// Copyright 2020-2024 Buf Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package whoami import (