You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A couple things we noticed in the demo video and want to fix/review.
ftl init should create a new directory for a project (vs. having to mkdir then cd then ftl init
ftl init <project name> [folder name]
Examples:
ftl init my-app # Creates a new folder named "my-app" and initializes it.
ftl init my-app . # Initializes the current directory as "my-app".
ftl init my-app custom # Creates a folder named "custom" and initializes it as "my-app".
ftl new go seemed to print out some debug messages. Check into why that is happening...
Update current docs as needed to reflect these changes (both cli docs and docs docs)
The text was updated successfully, but these errors were encountered:
Fixes#3924
Automatically create project folder and update help:
```
Usage: ftl init <name> [<dir>] [flags]
Initialize a new FTL project.
Examples:
ftl init myproject # Creates a new folder named "myproject" and initializes it
ftl init myproject . # Initializes the current directory as "myproject"
ftl init myproject custom # Creates a folder named "custom" and initializes it as "myproject"
```
Creating a new ftl project will provide some help to the user as well:
```
ftl init myproject
Successfully created FTL project 'myproject' in myproject
To get started:
cd myproject
ftl dev
```
And update docs site:
![Screenshot 2025-01-07 at 2 51
23 PM](https://github.com/user-attachments/assets/1f0c70c2-2d7d-4399-ac5b-f23a567c13a8)
A couple things we noticed in the demo video and want to fix/review.
ftl init
should create a new directory for a project (vs. having tomkdir
thencd
thenftl init
ftl new go
seemed to print out some debug messages. Check into why that is happening...The text was updated successfully, but these errors were encountered: