Spaces:
Sleeping
Sleeping
# Command Line Tools | |
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! --> | |
------------------------------------------------------------------------ | |
<a | |
href="https://github.com/AnswerDotAI/fasthtml/blob/main/fasthtml/cli.py#L15" | |
target="_blank" style="float:right; font-size:smaller">source</a> | |
### railway_link | |
> railway_link () | |
*Link the current directory to the current project’s Railway service* | |
------------------------------------------------------------------------ | |
<a | |
href="https://github.com/AnswerDotAI/fasthtml/blob/main/fasthtml/cli.py#L33" | |
target="_blank" style="float:right; font-size:smaller">source</a> | |
### railway_deploy | |
> railway_deploy (name:str, mount:<function bool_arg>=True) | |
*Deploy a FastHTML app to Railway* | |
<table> | |
<thead> | |
<tr> | |
<th></th> | |
<th><strong>Type</strong></th> | |
<th><strong>Default</strong></th> | |
<th><strong>Details</strong></th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>name</td> | |
<td>str</td> | |
<td></td> | |
<td>The project name to deploy</td> | |
</tr> | |
<tr> | |
<td>mount</td> | |
<td>bool_arg</td> | |
<td>True</td> | |
<td>Create a mounted volume at /app/data?</td> | |
</tr> | |
</tbody> | |
</table> | |