Skip to content

Add cli usage information#423

Merged
rauchg merged 9 commits intovercel:masterfrom
stephensauceda:add-cli-usage
Dec 18, 2016
Merged

Add cli usage information#423
rauchg merged 9 commits intovercel:masterfrom
stephensauceda:add-cli-usage

Conversation

@stephensauceda
Copy link
Contributor

@stephensauceda stephensauceda commented Dec 17, 2016

Adds usage information to the CLI (#80) for next as well as sub-commands (next dev --help, etc).

If the messages need wordsmithing or if some other way makes more sense, just let me know 😃

❯ next --help

    Usage
      $ next <command>

    Available commands
      init, build, start, dev

    For more information run a command with the --help flag
      $ next init --help
  
❯ next dev --help

    Description
      Starts the application in development mode (hot-code reloading, error
      reporting, etc)

    Usage
      $ next dev <dir> -p <port number>

    <dir> represents where the compiled .next folder should go.
    If no directory is provided, .next will be created in the current directory

    Options
      --port, -p      A port number on which to start the application
      --help, -p      Displays this message

@coveralls
Copy link

coveralls commented Dec 17, 2016

Coverage Status

Coverage remained the same at 59.964% when pulling f55407b on stephensauceda:add-cli-usage into 1e70324 on zeit:master.

@rauchg
Copy link
Member

rauchg commented Dec 18, 2016

Beautiful. Great job @stephensauceda. Tis the little things

@rauchg rauchg merged commit 955f681 into vercel:master Dec 18, 2016
@timneutkens timneutkens mentioned this pull request Jan 15, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants