Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upuse default host/port when serving #61
Comments
This comment has been minimized.
This comment has been minimized.
|
When only colon is provided ( There's no way to make the parameter to pdoc --http foo bar |
This comment has been minimized.
This comment has been minimized.
|
The cli would have to either add commands such as Personally I like |
This comment has been minimized.
This comment has been minimized.
|
But you certainly don't like |
This comment has been minimized.
This comment has been minimized.
|
I am sure I am getting a little annoying by now A default should be something one doesn't have to type. Otherwise it's not really a default, even if it is only one character. For that matter why not type the whole url out just once? Separating into different commands makes sense because the build/serve operations are completely different, and would work nicely if something else is ever added such as |
cs01 commentedMay 2, 2019
Make CLI API more friendly such that it defaults to using
localhost:8000if no host/port is specified.