(fast-n-clean) /workspaces/backend # newt make route --name testname --path testpath
Route machines created successfully at /workspaces/backend/testpath/testname.py
Add the following line to routes/api.py:
from routes.subroutes.v1 import testname
api_router.include_router(testname.router, prefix='/v1')
This is both wrong and confusing.
First we need to remove the "Add the following..." as it depends on where and how the user has setup the router.
Second the result text should say relative to the work directory, not the entire path from root.
This is both wrong and confusing.
First we need to remove the "Add the following..." as it depends on where and how the user has setup the router.
Second the result text should say relative to the work directory, not the entire path from root.