目录
目录README.md

Test results Latest release swift 5.6 shield swift 5.7 shield Platforms: macOS, Linux

Test results Latest release swift 5.1 shield swift 5.2 shield swift 5.3 shield swift dev shield Platforms: macOS, Linux

XPkgPackage

Support for XPkg packages.

Usage:


import XPkgPackage

let links = [
    ["local/file", "~/place/to/link/file"],
]

let package = InstalledPackage(fromCommandLine: CommandLine.arguments)
try! package.performAction(fromCommandLine: CommandLine.arguments, links: links)

Provides a way to parse the arguments passed by xpkg, and get back a struct representing this package.

The struct supplies an API for creating links, running commands, and finding out which xpkg action is being performed.

关于
87.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号