Skip to content

Commit fdbe957

Browse files
authored
Update README.md
1 parent 62fbeba commit fdbe957

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,30 @@
66
This package builds a binary cap2spm that allows for the following:
77

88
- To read Plugin.m and Plugin.h files and modify your Plugin.swift file to allow them to be removed
9-
- **COMING SOON:** you will be able to generate a Package.swift for your plugin to be useable with Capacitor SPM
9+
- Generate a Package.swift for your plugin to be useable with Capacitor SPM
1010

1111
The easiest way to install is via curl:
1212
```
1313
curl -OL https://github.com/ionic-team/capacitor-plugin-converter/releases/latest/download/cap2spm.zip
1414
```
1515

16+
```
17+
USAGE: cap2-spm [--backup] [--no-backup] [--objc-header <objc-header>] [--objc-file <objc-file>] [--swift-file <swift-file>] <plugin-directory>
18+
19+
ARGUMENTS:
20+
<plugin-directory> Plugin Directory
21+
22+
OPTIONS:
23+
--backup/--no-backup Should we make a backup? (default: --backup)
24+
--objc-header <objc-header>
25+
Objective-C header for file containing CAP_PLUGIN
26+
macro
27+
--objc-file <objc-file> Objective-C file containing CAP_PLUGIN macro
28+
--swift-file <swift-file>
29+
Swift file containing class inheriting from CAPPlugin
30+
-h, --help Show help information.
31+
```
32+
1633

1734
> [!WARNING]
1835
> The binary in releases is currently not signed. If you download from a browser, you will have to run the following

0 commit comments

Comments
 (0)