forked from LaconicNetwork/kompose
docs(cli): remove docker name from cli Examples
Signed-off-by: Martin Jirku <martin@jirku.sk>
This commit is contained in:
parent
ae975a818d
commit
6ba1ff77de
@ -79,9 +79,9 @@ var (
|
|||||||
var convertCmd = &cobra.Command{
|
var convertCmd = &cobra.Command{
|
||||||
Use: "convert",
|
Use: "convert",
|
||||||
Short: "Convert a Docker Compose file",
|
Short: "Convert a Docker Compose file",
|
||||||
Example: ` kompose --file docker-voting.yml convert
|
Example: ` kompose --file compose.yaml convert
|
||||||
kompose -f docker-compose.yml -f docker-guestbook.yml convert
|
kompose -f first.yaml -f second.yaml convert
|
||||||
kompose --provider openshift --file docker-voting.yml convert`,
|
kompose --provider openshift --file compose.yaml convert`,
|
||||||
PreRun: func(cmd *cobra.Command, args []string) {
|
PreRun: func(cmd *cobra.Command, args []string) {
|
||||||
|
|
||||||
// Check that build-config wasn't passed in with --provider=kubernetes
|
// Check that build-config wasn't passed in with --provider=kubernetes
|
||||||
|
|||||||
@ -53,9 +53,9 @@ var RootCmd = &cobra.Command{
|
|||||||
Use: "kompose",
|
Use: "kompose",
|
||||||
Short: "A tool helping Docker Compose users move to Kubernetes",
|
Short: "A tool helping Docker Compose users move to Kubernetes",
|
||||||
Long: `Kompose is a tool to help users who are familiar with docker-compose move to Kubernetes.`,
|
Long: `Kompose is a tool to help users who are familiar with docker-compose move to Kubernetes.`,
|
||||||
Example: ` kompose --file docker-voting.yml convert
|
Example: ` kompose --file compose.yaml convert
|
||||||
kompose -f docker-compose.yml -f docker-guestbook.yml convert
|
kompose -f first.yaml -f second.yaml convert
|
||||||
kompose --provider openshift --file docker-voting.yml convert
|
kompose --provider openshift --file compose.yaml convert
|
||||||
kompose completion bash`,
|
kompose completion bash`,
|
||||||
SilenceErrors: true,
|
SilenceErrors: true,
|
||||||
// PersistentPreRun will be "inherited" by all children and ran before *every* command unless
|
// PersistentPreRun will be "inherited" by all children and ran before *every* command unless
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user