-
Notifications
You must be signed in to change notification settings - Fork 293
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
add pack extension --help #1601
Conversation
4019128
to
5985da8
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1601 +/- ##
==========================================
- Coverage 80.58% 78.87% -1.71%
==========================================
Files 156 163 +7
Lines 10480 10578 +98
==========================================
- Hits 8444 8342 -102
- Misses 1534 1734 +200
Partials 502 502
Flags with carried forward coverage won't be shown. Click here to find out more. |
Signed-off-by: Darshan Kumar <[email protected]>
Signed-off-by: Joe Kimmel <[email protected]>
5985da8
to
58b1a02
Compare
Signed-off-by: Joe Kimmel <[email protected]> Signed-off-by: Darshan Kumar <[email protected]>
58b1a02
to
45f6c67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job @itsdarshankumar.
A part from my doubt with the location of NewExtensionCommand and the fact that I think the PR needs to rebase against the main branch. Every thing looks good to me!
@@ -76,6 +76,7 @@ func NewPackCommand(logger ConfigurableLogger) (*cobra.Command, error) { | |||
rootCmd.AddCommand(commands.Build(logger, cfg, packClient)) | |||
rootCmd.AddCommand(commands.NewBuilderCommand(logger, cfg, packClient)) | |||
rootCmd.AddCommand(commands.NewBuildpackCommand(logger, cfg, packClient, buildpackage.NewConfigReader())) | |||
rootCmd.AddCommand(commands.NewExtensionCommand(logger, cfg, packClient, buildpackage.NewConfigReader())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this line should be move inside the statement if cfg.Experimental
on line 100. I believe the extensions is actually an experimental feature.
Summary
Added command to show output for "pack extension --help"
Output
Before
No such command exists before
Related
Resolves #1470