You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2019/10/01 09:03:28 UTC
[camel-k] branch master updated: chore(cli): Hide builder and
operator commands
This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new c74d943 chore(cli): Hide builder and operator commands
c74d943 is described below
commit c74d94383c12885b248928ae7eee23fc94c60deb
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Sep 30 16:48:18 2019 +0200
chore(cli): Hide builder and operator commands
---
pkg/cmd/builder.go | 9 +++++----
pkg/cmd/operator.go | 9 +++++----
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/pkg/cmd/builder.go b/pkg/cmd/builder.go
index 9534cf8..adb9509 100644
--- a/pkg/cmd/builder.go
+++ b/pkg/cmd/builder.go
@@ -27,10 +27,11 @@ func newCmdBuilder(rootCmdOptions *RootCmdOptions) *cobra.Command {
RootCmdOptions: rootCmdOptions,
}
cmd := cobra.Command{
- Use: "builder",
- Short: "Run the Camel K builder",
- Long: `Run the Camel K builder`,
- Run: impl.run,
+ Use: "builder",
+ Short: "Run the Camel K builder",
+ Long: `Run the Camel K builder`,
+ Hidden: true,
+ Run: impl.run,
}
cmd.Flags().StringVar(&impl.BuildName, "build-name", "", "The name of the build resource")
diff --git a/pkg/cmd/operator.go b/pkg/cmd/operator.go
index 22a0300..a1a70c2 100644
--- a/pkg/cmd/operator.go
+++ b/pkg/cmd/operator.go
@@ -27,10 +27,11 @@ func newCmdOperator(rootCmdOptions *RootCmdOptions) *cobra.Command {
RootCmdOptions: rootCmdOptions,
}
cmd := cobra.Command{
- Use: "operator",
- Short: "Run the Camel K operator",
- Long: `Run the Camel K operator`,
- Run: impl.run,
+ Use: "operator",
+ Short: "Run the Camel K operator",
+ Long: `Run the Camel K operator`,
+ Hidden: true,
+ Run: impl.run,
}
return &cmd