seagull-js / seagull-cli

The best way to start, develop and deploy Seagull Apps.
https://seagull-js.github.io/seagull-cli/
GNU Lesser General Public License v3.0
2 stars 0 forks source link

add page command -path without default slash #32

Closed m0dh4x closed 6 years ago

m0dh4x commented 6 years ago

if you use the:

seagull add page testpage --path testpage

the URL localhost:3000/tespage does not load the rendered html because the path string does not have a slash.

Is it possible to add a default slash if not slash is entered in the add page command? screen

Anonyfox commented 6 years ago

This is a really good first issue! Have a look at the CLI commands under /add/* and ensure a prefix for the parameter. just doublecheck that the tests are still running