Skip to content

Change make route result text #21

@ChristianANoeddeboe

Description

@ChristianANoeddeboe
(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.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions