aws / aws/aws-sam-cli

Add "sam" script for bash on windows

Open
#3,589 4 comments 12 reactions 0 assignees View on GitHub
maintainer/need-followup stage/pm-review type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Describe your idea/feature/enhancement

When using gitbash, on windows we are unable to run the command "sam"

### Proposal

In the "C:\Program Files\Amazon\AWSSAMCLI\bin" folder, I suggest adding a new file called "sam" (no extension) with the following content:

```
DIR="$(dirname "${BASH_SOURCE[0]}")" # get the directory name
"$DIR/../runtime/python.exe" -m samcli "$@"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.