cli
cli copied to clipboard
Railway CLI
## Problem `railway up` ignores `node_modules` by default: https://github.com/railwayapp/cli/blob/2d2a8c14385368662059e2781c4d2412aef419a9/src/commands/up.rs#L184C34-L184C46 but there are use cases where deploying the contents of `node_modules` is desirable, eg. when the dependency install is being done...
If the project or environment has been deleted on Railway, we want to show a nicer error message.
Plugins are deprecated. We should use `railway add` to create services
- Use a `schema.json` file instead - Add instructions for re-generating the schema in the contributor docs - Add a `build.rs` file so that we rebuild on schema or graphql...
Once in a while, we'll run into a "Failed to stream build logs". I think this has to do with something related to the change of state and maybe build...
Railway CLI does not support setting secrets ("sealed" values) or reading values from stdin. When creating secrets, it can be convenient to generate them in a way that a human...
If you attempt to link a project that you previously deleted ([my project](https://railway.com/project/0134b128-001d-497c-b50c-38878d5105df?environmentId=078dfd7e-4f88-4b0e-806f-18949ae53ee4)) in the dashboard (it's pending deletion for 48 hours), the CLI will allow it: ``` railway link...
This command adds the `--remote` flag to the railway run command. This flag spins up a sidecar container (duplicating service), and the existing service is disconnected from it's upstream repo....
According to [your docs](https://docs.railway.com/guides/cli#account-tokens), I can take an API token created in my [account tokens page](https://railway.com/account/tokens) and prefix the `railway whoami` command like so: ``` RAILWAY_API_TOKEN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX railway whoami ``` But...