unnamedd / SiliconCLI

A thin Swift Package to expose information of the apps on our macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Silicon CLI

This Swift Package was created using the core of the Silicon app, created by DigiDNA.

The idea is to expose some informations of the apps inside of your macOS in order to make it easier to identify important informations, such as: the architecture.

Here is a small snippet returned by this CLI:

$ ./silicon -j

Result

{
  "applications": [
    {
      "architecture": "Apple",
      "architectures": [
        "arm64"
      ],
      "bundleIdentifier": "co.teamport.around",
      "isAppleSilicon": true,
      "isSystemApp": false,
      "name": "Around",
      "path": "/Applications/Around.app",
      "version": "0.60.46",
      "isElectronApp" : true
    },
    {
      "architecture": "Intel 64",
      "architectures": [
        "x86_64"
      ],
      "bundleIdentifier": "com.krill.Patterns",
      "isAppleSilicon": false,
      "isSystemApp": false,
      "name": "Patterns",
      "path": "/Applications/Patterns.app",
      "version": "1.2",
      "isElectronApp" : false
    },
    {
      "architecture": "Universal",
      "architectures": [
        "x86_64",
        "arm64"
      ],
      "bundleIdentifier": "com.apple.dt.Xcode",
      "isAppleSilicon": true,
      "isSystemApp": false,
      "name": "Xcode",
      "path": "/Applications/Xcode.app",
      "version": "13.3.1",
      "isElectronApp" : false
    }
  ],
  "total": 3
}

Requirements

  • Swift 5.6 (or newer)

Compile and run

git clone https://github.com/unnamedd/SiliconCLI.git
cd SiliconCLI
make run

Author

Silicon CLI was created and is maintained by Thiago Holanda

Acknowledgements

License

Silicon CLI is released under an MIT License. See LICENSE for details.

About

A thin Swift Package to expose information of the apps on our macOS

License:MIT License


Languages

Language:Swift 94.3%Language:Makefile 5.7%