Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Darshan Kumar <[email protected]>
  • Loading branch information
itsdarshankumar committed Feb 2, 2023
1 parent a58b03e commit a9aa900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/commands/extension_new.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type ExtensionNewFlags struct {
func ExtensionNew(logger logging.Logger) *cobra.Command {
cmd := &cobra.Command{
Use: "new <id>",
Short: "Creates basic scaffolding of an extension.",
Short: "Creates basic scaffolding of an extension",
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
Example: "pack extension new <example-extension>",
RunE: logError(logger, func(cmd *cobra.Command, args []string) error {
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/extension_package.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type ExtensionPackageFlags struct {
func ExtensionPackage(logger logging.Logger, cfg config.Config) *cobra.Command {
cmd := &cobra.Command{
Use: "package <name> --config <config-path>",
Short: "Package an extension in OCI format.",
Short: "Package an extension in OCI format",
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
RunE: logError(logger, func(cmd *cobra.Command, args []string) error {
// logic will be added here
Expand Down

0 comments on commit a9aa900

Please sign in to comment.