diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml
index 2187702..487359b 100644
--- a/.github/workflows/deno.yml
+++ b/.github/workflows/deno.yml
@@ -1,11 +1,3 @@
-# This workflow uses actions that are not certified by GitHub.
-# They are provided by a third-party and are governed by
-# separate terms of service, privacy policy, and support
-# documentation.
-
-# This workflow will install Deno then run `deno lint` and `deno test`.
-# For more information see: https://github.com/denoland/setup-deno
-
name: Deno
on:
@@ -33,8 +25,16 @@ jobs:
- name: Verify formatting
run: deno fmt --check
- - name: Run linter
- run: deno lint
+ - name: Verify formatting
+ run: deno fmt --check
+
+ - name: Build
+ run: mkdir dist
+ && deno compile --unstable-net --no-check --allow-all --target x86_64-apple-darwin --output apw-x86_64-apple-darwin /src/cli.ts
+ && deno compile --unstable-net --no-check --allow-all --target aarch64-apple-darwin --output apw-aarch64-apple-darwin /src/cli.ts
- - name: Run tests
- run: deno test -A
+ - name: Release
+ uses: softprops/action-gh-release@v2
+ if: startsWith(github.ref, 'refs/tags/')
+ with:
+ files: dist/*
diff --git a/README.md b/README.md
index 701e771..f19120b 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,13 @@
+
-
Apple Passwords CLI
+
Apple Passwords CLI
-
+
A CLI for access to Apple Passwords. A foundation for enabling integration and automation.
Explore the docs ยป
@@ -20,11 +21,11 @@
[![Contributors][contributors-shield]][contributors-url]
-[![Forks][forks-shield]][forks-url]
-[![Stargazers][stars-shield]][stars-url]
+[![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
+
@@ -47,18 +48,20 @@
-
-
+
## About The Project
-This project introduces a CLI interface designed to access iCloud passwords and OTP tokens. The core objective is to provide a secure and straightforward way to retrieve iCloud passwords, facilitating integration with other systems or for personal convenience.
+This project introduces a CLI interface designed to access iCloud passwords and
+OTP tokens. The core objective is to provide a secure and straightforward way to
+retrieve iCloud passwords, facilitating integration with other systems or for
+personal convenience.
-It utilises a built in helper tool in macOS 14 and above to facilitate this functionality.
+It utilises a built in helper tool in macOS 14 and above to facilitate this
+functionality.
(back to top)
-
## Getting Started
Ensure homebrew is installed or build from source.
@@ -104,19 +107,22 @@ Commands:
auth - Authenticate CLI with daemon.
pw - Interactively list accounts/passwords.
otp - Interactively list accounts/OTPs.
- start - Start the daemon.
+ start - Start the daemon.
```
(back to top)
-
+
## Contributing
-Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
+Contributions are what make the open source community such an amazing place to
+learn, inspire, and create. Any contributions you make are **greatly
+appreciated**.
-If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
-Don't forget to give the project a star! Thanks again!
+If you have a suggestion that would make this better, please fork the repo and
+create a pull request. You can also simply open an issue with the tag
+"enhancement". Don't forget to give the project a star! Thanks again!
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
@@ -140,19 +146,19 @@ Project Link: [https://github.com/bendews/apw](https://github.com/bendews/apw)
(back to top)
-
-
+
## Acknowledgments
-* [au2001 - iCloud Passwords for Firefox](https://github.com/au2001/icloud-passwords-firefox) - their SRP implementation was _so_ much better than mine it's embarassing. It is now based on their far superior implementation.
+- [au2001 - iCloud Passwords for Firefox](https://github.com/au2001/icloud-passwords-firefox) -
+ their SRP implementation was _so_ much better than mine it's embarassing. It
+ is now based on their far superior implementation.
(back to top)
-
-
+
[contributors-shield]: https://img.shields.io/github/contributors/bendews/apw.svg?style=for-the-badge
[contributors-url]: https://github.com/bendews/apw/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/bendews/apw.svg?style=for-the-badge