Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove tk sync example from help command #131

Merged
merged 3 commits into from
Jul 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/tk/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var rootCmd = &cobra.Command{
SilenceErrors: true,
Short: "Command line utility for assembling Kubernetes CD pipelines",
Long: `Command line utility for assembling Kubernetes CD pipelines the GitOps way.`,
Example: ` # Check prerequisites
Example: ` # Check prerequisites
tk check --pre

# Install the latest version of the toolkit
Expand All @@ -53,8 +53,8 @@ var rootCmd = &cobra.Command{
# List GitRepository sources and their status
tk get sources git

# Trigger a GitRepository source sync
tk sync source git webapp-latest
# Trigger a GitRepository source reconciliation
tk reconcile source git gitops-system

# Export GitRepository sources in YAML format
tk export source git --all > sources.yaml
Expand Down
6 changes: 3 additions & 3 deletions docs/cmd/tk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way.
### Examples

```
# Check prerequisites
# Check prerequisites
tk check --pre

# Install the latest version of the toolkit
Expand All @@ -24,8 +24,8 @@ Command line utility for assembling Kubernetes CD pipelines the GitOps way.
# List GitRepository sources and their status
tk get sources git

# Trigger a GitRepository source sync
tk sync source git webapp-latest
# Trigger a GitRepository source reconciliation
tk reconcile source git gitops-system

# Export GitRepository sources in YAML format
tk export source git --all > sources.yaml
Expand Down