https://github.com/sherlouk/spm
Helpful commands to compliment Swift Package Manager
https://github.com/sherlouk/spm
cli graph nomnoml spm swift-package swift-package-manager visualisation
Last synced: 4 months ago
JSON representation
Helpful commands to compliment Swift Package Manager
- Host: GitHub
- URL: https://github.com/sherlouk/spm
- Owner: Sherlouk
- License: lgpl-3.0
- Created: 2020-12-12T18:26:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-12T22:37:30.000Z (over 4 years ago)
- Last Synced: 2025-02-15T05:52:15.880Z (4 months ago)
- Topics: cli, graph, nomnoml, spm, swift-package, swift-package-manager, visualisation
- Language: Swift
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SPM

An executable with a couple potentially helpful swift package manager commands.
## Commands
### Graph
Creates a graph visualising the package and all of it's dependencies.
> Note: This command requires that you have already installed '[nomnoml](https://github.com/skanaar/nomnoml)' locally - you can do this by running `npm install -g nomnoml`.
```shell
$ spm graph path/to/package [--outputName ]
```### New (NOT IMPLEMENTED)
Creates a new Swift package using an opinionated structure
```shell
$ spm new MyPackage
```## TODO
* Create `new` command
* Support GraphViz export type for graph command (--outputType )
* Add --outputPath option to graph command to switch from current directory
* Add --detailed flag which adds enhanced information to every node in graph. Including tools version, and platform target(s).
* Extract JUnit from CI test suite and upload using https://github.com/EnricoMi/publish-unit-test-result-action