Skip to content

Commit 4485e29

Browse files
praveenrewar100mik
authored andcommitted
Add example for pkg repo kick
Signed-off-by: Praveen Rewar <[email protected]>
1 parent ae23661 commit 4485e29

File tree

1 file changed

+5
-0
lines changed
  • cli/pkg/kctrl/cmd/package/repository

1 file changed

+5
-0
lines changed

cli/pkg/kctrl/cmd/package/repository/kick.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ func NewKickCmd(o *KickOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Comman
4343
Use: "kick",
4444
Short: "Trigger reconciliation for repository",
4545
RunE: func(_ *cobra.Command, _ []string) error { return o.Run() },
46+
Example: cmdcore.Examples{
47+
cmdcore.Example{"Trigger reconciliation for repository",
48+
[]string{"package", "repository", "kick", "-r", "sample-repo"}},
49+
}.Description("-r", o.pkgCmdTreeOpts),
50+
SilenceUsage: true,
4651
Annotations: map[string]string{cmdapp.TTYByDefaultKey: "",
4752
cmdcore.PackageManagementCommandsHelpGroup.Key: cmdcore.PackageManagementCommandsHelpGroup.Value},
4853
}

0 commit comments

Comments
 (0)