Hi,
when I try to initialize project by running "vendor/bin/bref init" on win10, it does not create "index.php" nor "serverless.yml" files.
Is it suppose to work on win10 or is there some workaround?
Thank you.
Thank you for the report. What does the output of the command show in the terminal?
I don't have Windows to help debug, if you can you can see the code that runs here:
https://github.com/brefphp/bref/blob/7361a9c0f1c0eb5a8619fe49195d6e97be62c6aa/bref#L28-L88
If you see anything that doesn't work on Windows let us know.
The output is:

So it looks like it takes the first "bref" (unix) file from "vendor/bin" and not the Windows Batch File.
Although when I try to run "vendor/bref/bref/bref init" it looks like it is doing fine, I will try to have a look at it.
馃 that doesn't look right, this doesn't look like the actual output of vendor/bin/bref init right?
No, it is just an echo of first "bref" file in "vendor/bin":

I think win is not able to execute it so it just returns its content.
In this case, the second file "bref.bat" should be probably executed because of the win environment.
@zemiacsik yes it seems vendor/bin/bref.bat should be used on Windows, can you confirm that this works?
@mnapoli Yes, bref.bat worked fine on Win10.
Good to know thanks.
Then in the documentation we can add a note to encourage Windows users to use bref.bat instead.
On Win 10 Pro, this works as well
C:>"vendor/bin/bref" init