invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Command Line Options

Invantive Authenticator is operated from its window. Its command line carries one option, and one argument which is no option: the link of an account to register. Available from release 27.0.

An option is written as /name. The forms -name and --name are accepted as well. Options are not case sensitive; an argument which is no option is read as a link.

Asking for the Usage

Invantive.Authenticator.exe /help

The usage is written to the console of the shell that started the program. Invantive Authenticator is a Microsoft Windows application and has no console of its own, so it attaches to the one of the shell; when it is started without a shell, for instance from the Start menu, the usage is shown in a window instead. The program ends directly afterwards. /? and /h do the same, as do -h and --help.

The usage lists exactly the options below: it is composed from the same declarations with which the product reads its command line, so the two can not drift apart.

An argument which is no option is read as an otpauth:// link and offered for registration as an account:

Invantive.Authenticator.exe "otpauth://totp/ACME%20BV:john.doe@acme.eu?secret=..."

This is how the product is started when such a link is opened elsewhere on the device: the operating system hands the link over as the only argument. The link is put between double quotes, since it holds characters on which a shell would otherwise split it. See Register Accounts for the other ways in which an account is added.

Only the first argument which is no option is used; any further one is ignored. An argument which starts with /, - or -- but names no known option also counts as no option.

When the program is started without a link while another instance of the same installation shows its window, that window is brought to the front and the new instance ends. When it is started with a link, it always continues as an instance of its own, since the running instance can not receive the link.

See Also

Release Notes