railway functions
Manage serverless functions in your Railway project.
railway function
railway func
railway fn
railway funcs
railway fns
| Subcommand | Aliases | Description |
|---|
list | ls | List functions |
new | create | Add a new function |
delete | remove, rm | Delete a function |
push | up | Push changes to a function |
pull | | Pull changes from a linked function |
link | | Link a function manually |
| Flag | Description |
|---|
-p, --path <PATH> | Path to the function file |
-n, --name <NAME> | Name of the function |
-c, --cron <SCHEDULE> | Cron schedule for the function |
--http | Generate a domain for HTTP access |
-s, --serverless | Enable serverless mode (sleeping) |
-w, --watch | Watch for changes and deploy on save |
| Flag | Description |
|---|
-p, --path <PATH> | Path to the function |
-w, --watch | Watch for changes and deploy on save |
| Flag | Description |
|---|
-f, --function <FUNCTION> | ID or name of the function to delete |
-y, --yes | Skip confirmation dialog |
| Flag | Description |
|---|
-e, --environment <ENV> | Environment ID or name |