-
Notifications
You must be signed in to change notification settings - Fork 525
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
Format commands help #639
Format commands help #639
Conversation
/cc @mexx |
| Project(_) -> "Allows to add the package to a single project only." | ||
| Force -> "Forces the download and reinstallation of all packages." | ||
| Interactive -> "Asks the user for every project if he or she wants to add the package to the projects's paket.references file." | ||
| Hard -> "Replaces package references within project files even if they are not yet adhering to to Paket's conventions (and hence considered manually managed)." |
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.
Please fix typo: adhering to the Paket's
Good job @theimowski |
the red appyveyor test should be gone after rebase. |
@@ -34,7 +34,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "content", "content", "{8E6D | |||
docs\content\index.md = docs\content\index.md | |||
docs\content\lock-file.md = docs\content\lock-file.md | |||
docs\content\nuget-dependencies.md = docs\content\nuget-dependencies.md | |||
docs\content\paket-config-file.md = docs\content\paket-config-file.md |
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.
is this gone?
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.
yeah, I treat config as a command so it's now generated from the HelpTexts class.
Eventually we'll be able to fallback to separate md file for each command when this PR is merged
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.
cool. just tell me when it's ready to merge - really cool stuff
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.
thanks, I think it's ready now - I took it even a step further.
5c9e22d
to
5a96bc6
Compare
5a96bc6
to
a900114
Compare
@@ -130,7 +198,12 @@ type PackArgs = | |||
| [<CustomCommandLine("releaseNotes")>] ReleaseNotes of string | |||
with | |||
interface IArgParserTemplate with | |||
member __.Usage = "" | |||
member this.Usage = |
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.
@mavnn could you please review the messages for this new command?
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.
Looks good
Just tested it. Looks great. Thanks so much. |
Thanks good to hear that |
This is supposed to auto generate command line help usage for each command, as well as auto generate the command line invocation in markdown.
It's still WIP, as some more commands are left to migrate to new approach
Feedback welcome