Skip to content

Commit

Permalink
feat: add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ndj888 committed Mar 6, 2021
1 parent 4bb6cb3 commit 6dae886
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ Examples:
kubefwd svc -n default -n the-project
kubefwd svc -n default -d internal.example.com
kubefwd svc -n the-project -x prod-cluster
kubefwd svc -n the-project -p "8080:80,3309:3306"
kubefwd svc -n the-project -p "8080:80"
Flags:
Expand Down
2 changes: 2 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ Examples:
kubefwd svc -n default -n the-project
kubefwd svc -n default -d internal.example.com
kubefwd svc -n the-project -x prod-cluster
kubefwd svc -n the-project -p "8080:80,3309:3306"
kubefwd svc -n the-project -p "8080:80"
Flags:
Expand Down
4 changes: 3 additions & 1 deletion cmd/kubefwd/kubefwd.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ func newRootCmd() *cobra.Command {
" kubefwd svc -n the-project\n" +
" kubefwd svc -n the-project -l env=dev,component=api\n" +
" kubefwd svc -n default -l \"app in (ws, api)\"\n" +
" kubefwd svc -n default -n the-project\n",
" kubefwd svc -n default -n the-project\n" +
" kubefwd svc -n the-project -p \"8080:80,3309:3306\"\n" +
" kubefwd svc -n the-project -p \"8080:80\"\n",
Long: globalUsage,
}

Expand Down

0 comments on commit 6dae886

Please sign in to comment.