Skip to content

Command‐line Arguments

BigMac Admin edited this page Jan 17, 2024 · 2 revisions

When Baseline is run directly as a script, there are some command-line options which can be used. The default PKG will not make use of these command-line arguments, however they could be used in conjunction with a customized PKG by creating your own LaunchDaemon with the ProgramArguments key set properly.

Use a Specified Configuration File

-c|--config|--configuration [/path/to/config.plist]

  • Runs Baseline using the designated plist as it's configuration file.
  • Priority for which configuration to use in case of conflict is as follows:
    1. Configuration file passed as a command-line argument
    2. Configuration file located at /usr/local/Baseline/BaselineConfig.plist
    3. .mobileconfig Profile installed manually or via MDM
  • Valid Plist configuration files can be created using the "Payload > Export Configuration Payload as Plist" option in iMazing Profile Editor.

Run in Silent-Mode

-s|--silent|--silent-mode

  • Enables "Silent Mode" for Baseline
  • Baseline will no longer use any SwiftDialog features and SwiftDialog will not be automatically installed.
  • Baseline will not check whether a user is fully logged in. Baseline will run even at the loginwindow or prior to a user account being created.