Skip to content

Command Line Interface

MagerValp edited this page Mar 13, 2014 · 13 revisions

••• This page describes functionality in an upcoming release of AutoDMG •••

As of version 1.3 AutoDMG has a command-line interface. It's targeted at users who wish to automate builds and exposes some advanced functionality that isn't (yet?) available in the GUI.

Starting AutoDMG in CLI mode

You can start AutoDMG by executing the binary inside the app bundle, and giving it an argument (without arguments the GUI launches), e.g. -h:

termos:~ user$ /Applications/AutoDMG.app/Contents/MacOS/AutoDMG -h
usage: AutoDMG [-h] [-v] [-l LOGFILE] {build} ...
[...]

Subcommands

build

The build command is used to build images. It expects either an OS X installer as the first argument, or a template file. Run build -h to see what arguments are supported.

When a template is used command-line arguments can be used to override options specified in the template.

Clone this wiki locally