Swiftpack.co - telekom/cgjprofile as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by telekom.
telekom/cgjprofile v1.0.5
Command Line Tool for macOS to analyze the validity of mobile provision files
⭐️ 10
🕓 3 years ago
.package(url: "https://github.com/telekom/cgjprofile.git", from: "v1.0.5")

cgjprofile

Command Line Tool for macOS to analyse the validity of mobile provision files and the corresponding certificates. The software is well suited to be used in automated setups.

To facilitate reuse, the source code has been split into the tool, and the core functionality. The later is now a dependeny of the former.

Let me know if this is useful, I am looking forward to your comments!

Building

This is a Swift Package Manager project. To build, simply execute swift build -c release. To create an Xcode project for debugging, execute swift package generate-xcodeproj.

For more information, see the Package Manager documentation

Usage

Once built, the tool can be invoked like this:

cgjprofile [--format="format string"] [--warn-expiration days] [--quiet] [path]

The Format String

The format string takes c-style placeholders:

  • %e ExpirationDate
  • %c CreationDate
  • %u UUID
  • %a AppIDName
  • %t TeamName
  • %n Name

Minimum width specifiers can be used, such as "%40u", adding spaces until the minimum length is met.

If no format string is provided, the default is "%u %t %n"

Expiration Warning

If provided, a warning will be given if the profile will expire in the given number of days

Quiet

What you expect it would do. No output other than errors and the return value

Path

If provided, the path to the profile to be checked. Otherwise, all installed profiles are checked.

Return Value

  • 0 on success
  • 1 if any profile was invalid

GitHub

link
Stars: 10
Last commit: 3 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Related Packages

Release Notes

Updated to the Swift PM Argument Parser
3 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics