-
Notifications
You must be signed in to change notification settings - Fork 83
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
Update railway add
#570
Update railway add
#570
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we reuse the railway add
command to cut down on the number of commands a user has to remember.
We could add options for empty service, docker image, and github repo. Right now railway create
just makes an empty service and it would be nice if you could do something like railway add --name my-service --repo {pasted github link}
. Or if you just do railway add
you are prompted all the way through the process.
I agree having For now, I think the format of
And you can provide either a
Additionally, you would also be able to pass
For the interactive flow when running just
With all the same flag-based functionality but fully interactive. We can worry about deploying templates via Why though?This brings us a few steps closer to parity with the dashboard, meaning if you love the terminal you now can stay in it a little longer! But for a real world scenario, this allows users to add variables to a service prior to deployment, this means less unnecessary redeployments due to having to add variables via the dashboard and then redeploy. |
4844780
to
a86c102
Compare
fa197c1
to
79aa574
Compare
59403db
to
bcd8c01
Compare
This allows users to create services and databases in the linked project and environment, with similar options to the
+ Create
menu found within the project canvas.Changes and improvements are outlined below.