appwrite / appwrite/sdk-for-cli
๐ Bug Report: appwrite init site
- Dominant language
- Go
- Stars
- 100
- Forks
- 45
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 5
Description
### ๐ Reproduction steps
run` appwrite init site` on latest `Windows 11`
### ๐ Expected behavior
init the site.
The issue is probably inside the mkdir -p ., because it created a folder named -p, it should probably just run git clone https://github.com/appwrite/starter-for-analog.git . because the . just clone the content in current folder ?
### ๐ Actual Behavior
```
Error: Command failed: cmd /c "mkdir -p .
cd .
git init
git remote add origin https://github.com/appwrite/starter-for-analog
git config --global init.defaultBranch main
git fetch --depth=1 origin refs/tags/$(git ls-remote --tags origin "0.1.*" | tail -n 1 | awk -F '/' '{print $3}')
git checkout FETCH_HEAD"
A subdirectory or file . already exists.
```
### ๐ฒ Appwrite version
Appwrite Cloud
### ๐ป Operating system
Windows
### ๐งฑ Your Environment
Everything is latest versionm, CLI 8.2.1
### ๐ Have you spent some time to check if this issue has been raised before?
- [x] I checked and didn't find similar issue
### ๐ข Have you read the Code of Conduct?
- [x] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)
Contributor guide
Assessment
This issue has not been assessed yet.