Skip to content

Show command help on --help - relates to #433 - #437

Merged
forki merged 4 commits into
masterfrom
help
Dec 9, 2014
Merged

Show command help on --help - relates to #433#437
forki merged 4 commits into
masterfrom
help

Conversation

@forki

@forki forki commented Dec 8, 2014

Copy link
Copy Markdown
Member

No description provided.

@forki

forki commented Dec 8, 2014

Copy link
Copy Markdown
Member Author

/cc @haf @agross

@agross

agross commented Dec 8, 2014

Copy link
Copy Markdown
Contributor

Looks good, but :)

  • Markdown in the console output:
$ paket add --help
Paket version 0.17.19.0
# paket add

Adds a new package to your [`paket.dependencies` file](dependencies-file.html).

    [lang=batchfile]
    $ paket add nuget PACKAGENAME [version VERSION] [--interactive] [--force] [--hard]
  • paket without parameters still has that strange commands-on-top, parameters-at-the-bottom layout.

But we're getting there!

@forki

forki commented Dec 8, 2014

Copy link
Copy Markdown
Member Author

yeah now we need ideas how to improve this ;-)

@agross

agross commented Dec 8, 2014

Copy link
Copy Markdown
Contributor

Does your markdown lib support rendering to text?

@forki

forki commented Dec 8, 2014

Copy link
Copy Markdown
Member Author

@tpetricek's FSharp.Formatting uses Razor for the output. So probably yes.

@forki

forki commented Dec 8, 2014

Copy link
Copy Markdown
Member Author

maybe we just split the stuff into cmd text and "additional" docs.

@tpetricek

Copy link
Copy Markdown
Member

F# Formatting doesn't currently have text output, but it sounds like a fun project. I'm sure we could find a contributor for that. It's just a matter of walking over the AST

@forki

forki commented Dec 9, 2014

Copy link
Copy Markdown
Member Author

At the moment I'm trying to come up with a simpler solution which doesn't need to reference FSharp.Formatting.

forki added a commit that referenced this pull request Dec 9, 2014
Show command help on --help - relates to #433
@forki
forki merged commit 9a3d7a5 into master Dec 9, 2014
@forki
forki deleted the help branch December 9, 2014 11:54
@forki

forki commented Dec 9, 2014

Copy link
Copy Markdown
Member Author

It's already progress. We will improve along the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants