├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE └── workflows │ └── run-script.yaml ├── LICENSE ├── README.md └── scaffolded-script.kts /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | --- 5 | 6 | ## 🐛 Describe the bug 7 | 8 | 9 | ## ⚠️ Current behavior 10 | 11 | 12 | ## ✅ Expected behavior 13 | 14 | 15 | ## 💣 Steps to reproduce 16 | 17 | 18 | ## 📷 Screenshots 19 | 20 | 21 | ## 📱 Tech info 22 | - Alfred Version: 23 | - OS: 24 | - Script version: 25 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | --- 5 | 6 | ## ⚠️ Is your feature request related to a problem? Please describe 7 | 8 | 9 | ## 💡 Describe the solution you'd like 10 | 11 | 12 | ## 🤚 Do you want to develop this feature yourself? 13 | 14 | - [ ] Yes 15 | - [ ] No 16 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## 🚀 Description 4 | 5 | 6 | ## 📄 Motivation and Context 7 | 8 | 9 | 10 | ## 🧪 How Has This Been Tested? 11 | 12 | 13 | 14 | 15 | ## 📦 Types of changes 16 | 17 | - [ ] Bug fix (non-breaking change which fixes an issue) 18 | - [ ] New feature (non-breaking change which adds functionality) 19 | - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) 20 | 21 | ## ✅ Checklist 22 | 23 | 24 | - [ ] My code follows the code style of this project. 25 | - [ ] My change requires a change to the documentation. 26 | - [ ] I have updated the documentation accordingly. -------------------------------------------------------------------------------- /.github/workflows/run-script.yaml: -------------------------------------------------------------------------------- 1 | name: Run Script 2 | 3 | on: 4 | push: 5 | branches: 6 | - 'master' 7 | pull_request: 8 | branches: 9 | - '*' 10 | 11 | jobs: 12 | gradle: 13 | defaults: 14 | run: 15 | shell: bash -i {0} 16 | runs-on: ubuntu-latest 17 | if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} 18 | steps: 19 | - name: Checkout Repo 20 | uses: actions/checkout@v2 21 | with: 22 | submodules: true 23 | 24 | - name: Install sdkman 25 | run: curl -s "https://get.sdkman.io" | bash 26 | - name: Install kotlin 27 | run: sdk install kotlin 28 | - name: Install kscript 29 | run: sdk install kscript 30 | - name: Run script 31 | run: kscript scaffolded-script.kts 32 | - name: Bundle script 33 | run: kscript --package scaffolded-script.kts 34 | 35 | - uses: actions/upload-artifact@v1 36 | with: 37 | name: scaffolded-script 38 | path: ./scaffolded-script 39 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020