Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/attaswift/alfred-swift-evolution
An Alfred workflow for looking up Swift evolution proposals
https://github.com/attaswift/alfred-swift-evolution
alfred swift
Last synced: 3 months ago
JSON representation
An Alfred workflow for looking up Swift evolution proposals
- Host: GitHub
- URL: https://github.com/attaswift/alfred-swift-evolution
- Owner: attaswift
- License: mit
- Created: 2017-02-20T03:04:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-22T18:11:12.000Z (4 months ago)
- Last Synced: 2024-07-22T21:51:04.364Z (4 months ago)
- Topics: alfred, swift
- Language: Swift
- Size: 378 KB
- Stars: 63
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
- alfred-workflows - Swift Evolution - Look up Swift evolution proposals. (Developer)
README
# alfred-swift-evolution
An [Alfred] workflow for looking up Swift evolution proposals.
Written in Swift, of course.[Alfred]: https://www.alfredapp.com
## Requirements
You must have Swift 5 or newer installed (either by a version of Xcode or
Command Line Tools).## Download
Download version 2.2.0 of [alfred-swift-evolution.alfredworkflow][download].
[download]: https://github.com/attaswift/alfred-swift-evolution/releases/download/v2.2.0/alfred-swift-evolution.alfredworkflow
## Usage
Type se followed by a space to list all proposals (more
recent first). Optionally type a search string to filter results.You can filter by proposal number:
![Filter by number](screenshots/filter-number.png)
Or by proposal status:
![Filter by status](screenshots/filter-status.png)
Or by keyword:
![Filter by keyword](screenshots/filter-keyword.png)
Available actions:
* Press Return to open the proposal in the browser.
* Hold down Command to copy the proposal title to the clipboard.
* Hold down Shift+Command to copy a Markdown link to the proposal to the clipboard.
* (To copy the URL, hit Tab on a proposal and select Copy as Plain Text from the menu.)### Workflow variables
The script forwards four variables to Alfred that can be used in subsequent workflow actions:
* `proposal_id` (e.g. "SE-0304")
* `proposal_title` ("Structured concurrency")
* `proposal_status` ("Implemented")
* `proposal_url` ("https://github.com/apple/swift-evolution/blob/main/proposals/0304-structured-concurrency.md")If you want to customize the workflow for your needs, you can use these variables in your actions. Refer to the "Copy Markdown link" action for an example.