An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# SPM

![CI](https://github.com/Sherlouk/spm/workflows/CI/badge.svg)

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