ATCMD is a text mode version of Automise which can run projects from the command line.  It is installed in the Automise directory.  

ATCMD can be faster at executing than the IDE, as the IDE has more visual overhead.

Command Line Syntax

The command line syntax for ATCMD is as follows:

ATCMD.EXE <ProjectFile> [options]

Options

Switch

Behaviour

Example

<ProjectFile> 

The Automise project file

"C:\Build\MyProject.fbz7"

-redirectoutput:<redirectoutput>

-r:<redirectoutput>

Output messages to text file instead of console.

-r:"C:\Temp\RedirectLog.log"

-redirectmode:<redirectmode>

-rm:<redirectmode> 

Redirect Mode, O : overwrite, N : do not overwrite, A : Append

-rm:O

-params

-@

Parameter file. Specify a file which contains all command line options to use.

-@:"C:\Temp\Params.txt"

-logexceptions

-le

 Write all exceptions to the log.

-le

-allowinteractive

-ai

Allow interactive actions.

-ai

-quiet

-q

Quiet mode. Only log build start, end and errors.

-q

-silent

-s

Silent mode. Nothing is written out to the log.

-s

-nobanner

-nb

Suppress product banner in output.

-nb

-exportlog:<exportlog>

-ex:<exportlog>

Export Log to a file at the end of the build (file extension determines format)

-ex:"C:\Temp\Build.html"

-heirachlog

-h

Disable hierarchical logging.

-h

-validate

-vp

Validate project before execution.-vp

-noctrl

-ic

Ignore all system message (eg. Ctrl-C, Shutdown)-ic

-closeother

-co

Close project if open in the IDE (see ATCMD help topic.-co

-closeforce

-cf

Forcibly close project if open in the IDE (use with caution).-cf

-templog

-tl

Log to a temporary log file.-tl

-Action Lists:<Action Lists>

-t:<Action Lists>

List of Action Lists to run from the project. More than one Action List can be included by seperating with a semi-colon.

-t:Build

-packages:<packages>

-pk:<packages>

Packages to load for running the FinalBuidler project. Each entry should be seperated by a semi-colon. Overrides the packages set to load in the Automise options.

-pk:RequiredPackage.fbap

-variables:<variables>

-v:<variables>

Set Automise variables, in the form VarName=VarValue. The variables must be already defined Project or User variables. Separate multiple name/value pairs with semicolons. If the variable value contains spaces, enclose it in quotes.

-v:MyVar="Some Text"

-logexclusions:<logexclusions>

-x:<logexclusions>

Don't output selected message types to the console. T : Action List start/stop messages, A : Action start messages, M : Action output messages.

-x:T

See Also

Scheduling builds | IDE Command Line Interface

  • No labels