A swift library for managing remote servers
-
In the project you want to write a script for, add a new directory in the Sources directory
-
Add the directory to your targets in package.swift
-
Add Gardner as a dependency
-
Add main.swift to the directory and put the code you wish to use into a run() function
-
cd into your project's directory
-
use the following: swift run {target name}