You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
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 main
import (
"os"
"github.com/spf13/cobra"
_ "k8s.io/client-go/plugin/pkg/client/auth"
"knative.dev/kn-plugin-diag/pkg/command/diagnose"
"knative.dev/kn-plugin-diag/pkg/utils"
)
func main() {
p := &utils.ConnectionConfig{}
p.Initialize()
rootCmd := &cobra.Command{
Use: "knative-diagnose",
Short: "A plugin of Knative Client to show detail information of Knative Resources for diagnose purpose",
Long: `It can be used to show the Knative Customer Resource Definition Hierarchy in a tree view, to show the status and key metadata and spec fileds of different Knative Customer Resource Definitions`,