Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add format flag to lucky routes for outputting alternate formats #1852

Open
jwoertink opened this issue Feb 23, 2024 · 0 comments
Open

Add format flag to lucky routes for outputting alternate formats #1852

jwoertink opened this issue Feb 23, 2024 · 0 comments

Comments

@jwoertink
Copy link
Member

We currently have some nice output when you run lucky routes

image

I've been working with front end APIs a lot lately, and just had the idea of what if you could do something like lucky routes --format=json then have a json file that maps all of these routes. Drop that file in to your SPA and somehow hook it up in a way that if a route changes on the backend, it would be updated on the frontend.

The use case could be for whatever really, but just having an alternate format option might be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant