Skip to main content

Command-line reference (`ooa`)

Every command and sub-command of the ooa program, with its options, as the program's own help prints them. Generated by docs/research/tools/make-cli-reference.py; do not edit by hand. On Windows the program is bin\ooa.bat in the installation folder; on Linux bin/ooa.

service-run and native-host are started by Windows and by the browser, not by people, and are left out.

Contents​

ooa​

Usage: ooa [-hV] [COMMAND]
ONEOFFICEAUTOMATION: build, run and manage automations.
-h, --help Show this help.
-V, --version Show the version.
Commands:
completion Print a completion script for bash and zsh: source <(ooa
completion)
manifest Print the toolkit manifests (what Studio shows for each
command).
catalog Print the action catalog other programs read, such as
OneChat (JSON Lines with a checksum).
validate Check automation files against the flow schema and the
toolkits' commands.
run Run an automation file on this computer and print its
result.
conformance Run the language-neutral conformance cases.
license Check license files, and make them (vendor build).
release Check a release before installing it, and sign releases
(vendor build).
server Start everything on this computer: One CommandCenter,
OneAgentStudio (/studio) and a runner.
studio Start OneAgentStudio on its own (http://localhost:8710).
control-room Start One CommandCenter (http://localhost:8720).
reset-admin Print a new one-time password for a user who forgot
theirs. Stop the server first.
agent Register and run a runner (OneRunner) on this computer.
db Set up and look after One CommandCenter database
(docs/infrastructure/05-databases.md).
region Run the SaaS service: a region with its tenants
(docs/infrastructure/09-saas-and-multi-region-operations.
md).
tenant Move this One CommandCenter into a SaaS tenant
(docs/infrastructure/09-saas-and-multi-region-operations.
md section 12).
directory The global directory of a SaaS service with several
regions.
migrate Turn Automation Anywhere bots (JSON) or UiPath workflows (.
xaml) into OOA agents, with a report.
check Check whether this computer is ready for One CommandCenter.
docflow Document Automation's DocFlow service.
vault Look after the vault's master key.
dr Disaster recovery: check a second site and make it the
active one
(docs/infrastructure/07-backup-restore-and-disaster-recov
ery.md).
backup Back up and restore One CommandCenter.
tls HTTPS for One CommandCenter. Stop the server first; it
uses the settings at its next start.
toolkit Make and check signed custom toolkits.
service Run One CommandCenter or a runner as a Windows service.
service-run Started by the Windows service manager.
browser-connector The browser extension's link to this computer (shows its
status).
native-host Started by the browser for the extension.

Run 'ooa COMMAND --help' for a command's options.

ooa completion​

Usage: ooa completion [-h]
Print a completion script for bash and zsh: source <(ooa completion)
-h, --help Show this help.

ooa manifest​

Usage: ooa manifest [-h] [--summary]
Print the toolkit manifests (what Studio shows for each command).
-h, --help Show this help.
--summary One line per toolkit: its id, version and actions.

ooa catalog​

Usage: ooa catalog [-h] [--out=FILE]
Print the action catalog other programs read, such as OneChat (JSON Lines with
a checksum).
-h, --help Show this help.
--out=FILE Write it to this file instead (docs/reference/action-catalog.
jsonl in the repository).

ooa validate​

Usage: ooa validate [-h] FLOW...
Check automation files against the flow schema and the toolkits' commands.
FLOW... Automation files (*.flow.json).
-h, --help Show this help.

ooa run​

Usage: ooa run [-h] [-i=NAME=VALUE]... FLOW
Run an automation file on this computer and print its result.
FLOW The automation file.
-h, --help Show this help.
-i, --input=NAME=VALUE An input value (JSON, or else text); give it once
per input.

ooa conformance​

Usage: ooa conformance [-h] [DIR]
Run the language-neutral conformance cases.
[DIR] The folder of cases (default ../contracts/conformance/cases).
-h, --help Show this help.

ooa license​

Usage: ooa license [-h] [COMMAND]
Check license files, and make them (vendor build).
-h, --help Show this help.
Commands:
show Show a license file's terms and whether this release accepts its
signature.
ui Open the license tool (vendor build).
keygen Make the vendor key pair (vendor build).
issue Make a signed license file (vendor build).

ooa license show​

Usage: ooa license show [-h] FILE
Show a license file's terms and whether this release accepts its signature.
FILE The license file.
-h, --help Show this help.

ooa license ui​

Usage: ooa license ui [-h] [ARGS...]
Open the license tool (vendor build).
[ARGS...] --key FILE
-h, --help Show this help.

ooa license keygen​

Usage: ooa license keygen [-h] [ARGS...]
Make the vendor key pair (vendor build).
[ARGS...] --out DIR
-h, --help Show this help.

ooa license issue​

Usage: ooa license issue [-h] [ARGS...]
Make a signed license file (vendor build).
[ARGS...] --key FILE --customer NAME --expires YYYY-MM-DD [seats] --out
FILE
-h, --help Show this help.

ooa release​

Usage: ooa release [-h] [COMMAND]
Check a release before installing it, and sign releases (vendor build).
-h, --help Show this help.
Commands:
verify Check a release's signed manifest and every file it lists.
sign Sign a release folder's manifest (vendor build).
templates Make the signed template catalogue from a folder of templates
(vendor build).
page Write the public releases page from a repository's GitHub releases.

ooa release verify​

Usage: ooa release verify [-h] [--dir=DIR] MANIFEST
Check a release's signed manifest and every file it lists.
MANIFEST The signed manifest (ooa-VERSION.manifest.json).
--dir=DIR The folder with the release files (default: the manifest's
folder).
-h, --help Show this help.

ooa release sign​

Usage: ooa release sign [-h] --dir=DIR --key=FILE [--out=FILE] --version=V
Sign a release folder's manifest (vendor build).
--dir=DIR The release folder.
-h, --help Show this help.
--key=FILE The vendor private key.
--out=FILE The manifest to write.
--version=V The release version.

ooa release templates​

Usage: ooa release templates [-h] --dir=DIR --key=FILE --out=FILE
Make the signed template catalogue from a folder of templates (vendor build).
--dir=DIR The folder with one folder per template (template.json and
its agents).
-h, --help Show this help.
--key=FILE The vendor private key.
--out=FILE The catalogue to write (templates.json).

ooa release page​

Usage: ooa release page [-h] [--api=URL] --out=DIR --repo=OWNER/NAME
[--token-env=VAR]
Write the public releases page from a repository's GitHub releases.
--api=URL The GitHub API address (default https://api.github.
com).
-h, --help Show this help.
--out=DIR Where to write index.html and releases.json.
--repo=OWNER/NAME The release repository on GitHub (OWNER/NAME; ours is
the organisation's
OneOfficeAutomation-Customer-Build).
--token-env=VAR The environment variable with a GitHub token (for a
private repository).

ooa server​

Usage: ooa server [-h] [--no-agent] [--no-browser] [--agent-config=FILE]
[--agent-workspace=DIR] [--data=DIR] [--db-config=FILE]
[--db-password-env=VAR] [--db-url=URL] [--db-user=NAME]
[--host=HOST] [--port=N] [--workspace=DIR]
Start everything on this computer: One CommandCenter, OneAgentStudio (/studio)
and a runner.
--agent-config=FILE The local runner's registration (default: one file
per data folder in ~/.ooa-agent).
--agent-workspace=DIR The local runner's workspace (default: ~/OOA Agent
Workspace).
--data=DIR One CommandCenter data folder (default: ~/OOA
Command Center).
--db-config=FILE Database settings other than DIR/config/ooa-db.
properties.
--db-password-env=VAR The environment variable with that account's
password.
--db-url=URL A JDBC address instead of the configured database.
--db-user=NAME Its account.
-h, --help Show this help.
--host=HOST The address to listen on (default 127.0.0.1, this
computer only).
--no-agent Do not start the runner for this computer.
--no-browser Do not open the browser.
--port=N The port (default 8720).
--workspace=DIR OneAgentStudio's workspace (default: ~/OOA
Workspace).

ooa studio​

Usage: ooa studio [-h] [--port=N] [--workspace=DIR]
Start OneAgentStudio on its own (http://localhost:8710).
-h, --help Show this help.
--port=N The port (default 8710).
--workspace=DIR The workspace (default: ~/OOA Workspace).

ooa control-room​

Usage: ooa control-room [-h] [--data=DIR] [--db-config=FILE]
[--db-password-env=VAR] [--db-url=URL] [--db-user=NAME]
[--host=HOST] [--port=N]
Start One CommandCenter (http://localhost:8720).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--db-config=FILE Database settings other than DIR/config/ooa-db.
properties.
--db-password-env=VAR
The environment variable with that account's password.
--db-url=URL A JDBC address instead of the configured database.
--db-user=NAME Its account.
-h, --help Show this help.
--host=HOST The address to listen on (default 127.0.0.1; 0.0.0.0
for other machines, with HTTPS).
--port=N The port (default 8720).

ooa reset-admin​

Usage: ooa reset-admin [-h] [--data=DIR] [--db-config=FILE]
[--db-password-env=VAR] [--db-url=URL] [--db-user=NAME]
[--user=NAME]
Print a new one-time password for a user who forgot theirs. Stop the server
first.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--db-config=FILE Database settings other than DIR/config/ooa-db.
properties.
--db-password-env=VAR
The environment variable with that account's password.
--db-url=URL A JDBC address instead of the configured database.
--db-user=NAME Its account.
-h, --help Show this help.
--user=NAME The user (default admin).

ooa agent​

Usage: ooa agent [-h] [COMMAND]
Register and run a runner (OneRunner) on this computer.
-h, --help Show this help.
Commands:
register Register this computer as a runner with One CommandCenter.
start Run the registered runner until stopped.
network Show or change the runner's proxy and trusted certificate.
move Point the runner at One CommandCenter's new address, keeping
its registration.
diagnose Find why the runner cannot reach or work with its One
CommandCenter.
install-task Start the runner when you sign in to Windows (for runners
that need a desktop).
uninstall-task Stop starting the runner at sign-in.
autologon Let Windows sign the runner's user in by itself after a
restart (as administrator; the password stays a protected
Windows secret).
sessions Windows Server: open a session for each robot account, each
with its own runner, so the server takes several screen
runs at once.

ooa agent register​

Usage: ooa agent register [-h] [--keep-existing] [--ca=FILE] [--config=FILE]
[--key=KEY] [--name=NAME] [--proxy=PROXY]
[--proxy-password-env=VAR] [--proxy-user=NAME]
--url=URL
Register this computer as a runner with One CommandCenter.
--ca=FILE A certificate to trust for One CommandCenter (its
own, or the company's CA).
--config=FILE Where the registration is saved (default: ~/.
ooa-agent/agent.json).
-h, --help Show this help.
--keep-existing Keep this computer's registration with the same One
CommandCenter when it still works (setup run again).
--key=KEY A registration key (Runners > Register a runner); not
needed with --keep-existing when the registration
is kept.
--name=NAME The runner's name (default: this computer's name).
--proxy=PROXY system (default), none, http://host:port, or windows[:
http://host:port] for a proxy that wants Windows
sign-in (NTLM, Kerberos).
--proxy-password-env=VAR
The environment variable with the proxy password.
--proxy-user=NAME The proxy account.
--url=URL One CommandCenter, such as https://commandcenter:8720.

ooa agent start​

Usage: ooa agent start [-h] [--config=FILE] [--workspace=DIR]
Run the registered runner until stopped.
--config=FILE The registration.
-h, --help Show this help.
--workspace=DIR The runner's workspace (default: ~/OOA Agent Workspace).

ooa agent network​

Usage: ooa agent network [-h] [--ca=FILE] [--config=FILE] [--proxy=PROXY]
[--proxy-password-env=VAR] [--proxy-user=NAME]
Show or change the runner's proxy and trusted certificate.
--ca=FILE A certificate to trust for One CommandCenter (its
own, or the company's CA).
--config=FILE The registration.
-h, --help Show this help.
--proxy=PROXY system (default), none, http://host:port, or windows[:
http://host:port] for a proxy that wants Windows
sign-in (NTLM, Kerberos).
--proxy-password-env=VAR
The environment variable with the proxy password.
--proxy-user=NAME The proxy account.

ooa agent move​

Usage: ooa agent move [-h] [--ca=FILE] [--config=FILE] --url=URL
Point the runner at One CommandCenter's new address, keeping its registration.
--ca=FILE The certificate to trust for it.
--config=FILE The registration.
-h, --help Show this help.
--url=URL The new address.

ooa agent diagnose​

Usage: ooa agent diagnose [-h] [--config=FILE] [--workspace=DIR]
Find why the runner cannot reach or work with its One CommandCenter.
--config=FILE The registration.
-h, --help Show this help.
--workspace=DIR The runner's workspace.

ooa agent install-task​

Usage: ooa agent install-task [-h] [--config=FILE] [--workspace=DIR]
Start the runner when you sign in to Windows (for runners that need a desktop).
--config=FILE The registration.
-h, --help Show this help.
--workspace=DIR The runner's workspace.

ooa agent uninstall-task​

Usage: ooa agent uninstall-task [-h]
Stop starting the runner at sign-in.
-h, --help Show this help.

ooa agent autologon​

Usage: ooa agent autologon [-h] [--off] [--status] [--domain=DOMAIN]
[--password-env=VAR] [--user=NAME]
Let Windows sign the runner's user in by itself after a restart (as
administrator; the password stays a protected Windows secret).
--domain=DOMAIN Its domain, when not in --user.
-h, --help Show this help.
--off Stop signing in by itself and remove the stored
password.
--password-env=VAR An environment variable holding the password (never
typed on the command line).
--status Show whether it is on, and for whom.
--user=NAME The Windows account, NAME or DOMAIN\NAME.

ooa agent sessions​

Usage: ooa agent sessions [-h] [--check] [--watch] [--height=PIXELS]
[--password-env-prefix=PREFIX] --users=LIST
[--width=PIXELS]
Windows Server: open a session for each robot account, each with its own
runner, so the server takes several screen runs at once.
--check Only show which accounts are signed in.
-h, --help Show this help.
--height=PIXELS Screen height (default 1080).
--password-env-prefix=PREFIX
Environment variables holding the passwords: PREFIX +
account name in capitals (default OOA_SESSION_PW_).
--users=LIST The robot accounts, separated by commas.
--watch Keep checking every minute and open a session again
when one is gone.
--width=PIXELS Screen width of each session (default 1920).

ooa db​

Usage: ooa db [-h] [COMMAND]
Set up and look after One CommandCenter database
(docs/infrastructure/05-databases.md).
-h, --help Show this help.
Commands:
configure Save the database settings: SQL Server or PostgreSQL, the
server and the accounts.
set-password Store a database password, encrypted with the vault key.
test Connect with the runtime account and report the version,
encryption and rights.
init Create the database and schema, and give the runtime account
its rights.
migrate Upgrade the schema after an update.
script Print the schema SQL for a database administrator.
copy Copy the data of a built-in (H2) One CommandCenter into the
configured database.

ooa db configure​

Usage: ooa db configure [-h] [--trust-any-certificate] [--windows-auth]
[--config=FILE] [--data=DIR] [--database=NAME]
[--engine=ENGINE] [--host=HOST] [--instance=NAME]
[--pool-max=N] [--port=N] [--setup-user=NAME]
[--timeout-seconds=N] [--tls=MODE] [--tls-ca=FILE]
[--user=NAME] [--windows-login=DOMAIN\NAME]
Save the database settings: SQL Server or PostgreSQL, the server and the
accounts.
--config=FILE The settings file (default DIR/config/ooa-db.
properties).
--data=DIR One CommandCenter data folder (default: ~/OOA
Command Center).
--database=NAME The database (default ooa_command_center).
--engine=ENGINE sqlserver (default) or postgresql.
-h, --help Show this help.
--host=HOST The database server.
--instance=NAME A named SQL Server instance.
--pool-max=N Connections at most (default 20).
--port=N Its port (default 1433, or 5432 for PostgreSQL).
--setup-user=NAME The account that creates and upgrades the schema.
--timeout-seconds=N How long to wait for a connection (default 30).
--tls=MODE Encrypted connection: required (default) or off.
--tls-ca=FILE The certificate to trust for the database server.
--trust-any-certificate
Accept any server certificate (tests only).
--user=NAME The runtime account the server signs in with.
--windows-auth Sign in to SQL Server with Windows (the service
account, or a gMSA).
--windows-login=DOMAIN\NAME
The Windows account, for the rights script.

ooa db set-password​

Usage: ooa db set-password [-h] [--setup] [--config=FILE] [--data=DIR]
[--from-env=VAR]
Store a database password, encrypted with the vault key.
--config=FILE The settings file (default DIR/config/ooa-db.properties).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--from-env=VAR Read it from this environment variable instead of asking.
-h, --help Show this help.
--setup The setup account's password, not the runtime account's.

ooa db test​

Usage: ooa db test [-h] [--config=FILE] [--data=DIR]
Connect with the runtime account and report the version, encryption and rights.
--config=FILE The settings file (default DIR/config/ooa-db.properties).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.

ooa db init​

Usage: ooa db init [-h] [--config=FILE] [--data=DIR]
Create the database and schema, and give the runtime account its rights.
--config=FILE The settings file (default DIR/config/ooa-db.properties).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.

ooa db migrate​

Usage: ooa db migrate [-h] [--config=FILE] [--data=DIR]
Upgrade the schema after an update.
--config=FILE The settings file (default DIR/config/ooa-db.properties).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.

ooa db script​

Usage: ooa db script [-h] [--config=FILE] [--data=DIR] [--engine=ENGINE]
Print the schema SQL for a database administrator.
--config=FILE The settings file (default DIR/config/ooa-db.
properties).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--engine=ENGINE sqlserver, postgresql or h2.
-h, --help Show this help.

ooa db copy​

Usage: ooa db copy [-h] [--replace] [--config=FILE] [--data=DIR] --from=DIR
Copy the data of a built-in (H2) One CommandCenter into the configured database.
--config=FILE The settings file (default DIR/config/ooa-db.properties).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--from=DIR The data folder of the built-in One CommandCenter.
-h, --help Show this help.
--replace Delete the rows already there first.

ooa region​

Usage: ooa region [-h] [COMMAND]
Run the SaaS service: a region with its tenants
(docs/infrastructure/09-saas-and-multi-region-operations.md).
-h, --help Show this help.
Commands:
start Start a region: every tenant on one port, the host name picking the
tenant.
token Make an operator or directory token, and the SHA-256 for the
settings file.
tenant The region's tenants, through its operator API.
template The region's shared agent templates: approve them before tenants
see them.

ooa region start​

Usage: ooa region start [-h] [--data=DIR] [--host=HOST] [--port=N]
Start a region: every tenant on one port, the host name picking the tenant.
--data=DIR The region's data folder, with config/ooa-region.properties.
-h, --help Show this help.
--host=HOST The address to listen on (default 0.0.0.0; TLS ends at the
load balancer).
--port=N The port (default 8720).

ooa region token​

Usage: ooa region token [-h]
Make an operator or directory token, and the SHA-256 for the settings file.
-h, --help Show this help.

ooa region tenant​

Usage: ooa region tenant [-h] [COMMAND]
The region's tenants, through its operator API.
-h, --help Show this help.
Commands:
list List the region's tenants.
create Make a tenant and print its first administrator's one-time password.
seats Change a tenant's seats (none: no limit).
suspend Stop a tenant: its people and runners are refused, its data stays.
resume Start a suspended tenant again.
delete Delete a suspended tenant with all its data, for good.
import Move an on-premises One CommandCenter into a tenant, from the file
ooa tenant export wrote.

ooa region tenant list​

Usage: ooa region tenant list [-h] --token-env=VAR --url=URL
List the region's tenants.
-h, --help Show this help.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa region tenant create​

Usage: ooa region tenant create [-h] [--admin-email=ADDRESS] --name=COMPANY
[--seats=KIND=N,...] --slug=NAME
--token-env=VAR --url=URL
Make a tenant and print its first administrator's one-time password.
--admin-email=ADDRESS
The customer administrator's e-mail address.
-h, --help Show this help.
--name=COMPANY The customer's name.
--seats=KIND=N,... Seats, such as developer=2,unattended_runner=5.
--slug=NAME The address name: NAME.REGION-DOMAIN.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa region tenant seats​

Usage: ooa region tenant seats [-h] [--seats=KIND=N,...] --token-env=VAR
--url=URL NAME
Change a tenant's seats (none: no limit).
NAME The tenant's address name.
-h, --help Show this help.
--seats=KIND=N,... Seats, such as developer=2,unattended_runner=5;
leave out for no limit.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa region tenant suspend​

Usage: ooa region tenant suspend [-h] --token-env=VAR --url=URL NAME
Stop a tenant: its people and runners are refused, its data stays.
NAME The tenant's address name.
-h, --help Show this help.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa region tenant resume​

Usage: ooa region tenant resume [-h] --token-env=VAR --url=URL NAME
Start a suspended tenant again.
NAME The tenant's address name.
-h, --help Show this help.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa region tenant delete​

Usage: ooa region tenant delete [-h] --token-env=VAR --url=URL NAME
Delete a suspended tenant with all its data, for good.
NAME The tenant's address name.
-h, --help Show this help.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa region tenant import​

Usage: ooa region tenant import [-h] [--admin-email=ADDRESS] --file=FILE
[--name=COMPANY] --password-env=VAR
[--seats=KIND=N,...] --token-env=VAR --url=URL
NAME
Move an on-premises One CommandCenter into a tenant, from the file ooa tenant
export wrote.
NAME The tenant's address name (made when there is none;
one that exists must still be empty).
--admin-email=ADDRESS
The customer administrator's e-mail address, for a
new tenant.
--file=FILE The move file.
-h, --help Show this help.
--name=COMPANY The customer's name, for a new tenant.
--password-env=VAR The environment variable with the move file's
passphrase.
--seats=KIND=N,... Seats for a new tenant, such as developer=2,
unattended_runner=5.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa region template​

Usage: ooa region template [-h] [COMMAND]
The region's shared agent templates: approve them before tenants see them.
-h, --help Show this help.
Commands:
list List shared templates (waiting for approval, unless --status says
otherwise).
approve Let every tenant of the region install a shared template.
reject Refuse a shared template (or take back an approval).

ooa region template list​

Usage: ooa region template list [-h] [--status=STATUS] --token-env=VAR --url=URL
List shared templates (waiting for approval, unless --status says otherwise).
-h, --help Show this help.
--status=STATUS pending (default), approved, rejected or all.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa region template approve​

Usage: ooa region template approve [-h] --token-env=VAR --url=URL ID
Let every tenant of the region install a shared template.
ID The template's id (tpl_...).
-h, --help Show this help.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa region template reject​

Usage: ooa region template reject [-h] --token-env=VAR --url=URL ID
Refuse a shared template (or take back an approval).
ID The template's id (tpl_...).
-h, --help Show this help.
--token-env=VAR The environment variable with the operator token.
--url=URL The region's own address, such as https://in.example.
com.

ooa tenant​

Usage: ooa tenant [-h] [COMMAND]
Move this One CommandCenter into a SaaS tenant
(docs/infrastructure/09-saas-and-multi-region-operations.md section 12).
-h, --help Show this help.
Commands:
export Write one encrypted file with this One CommandCenter's data, files
and secrets, for ooa region tenant import. Stop the server first.

ooa tenant export​

Usage: ooa tenant export [-h] [--with-history] [--data=DIR] [--db-config=FILE]
[--db-password-env=VAR] [--db-url=URL]
[--db-user=NAME] --out=FILE --password-env=VAR
Write one encrypted file with this One CommandCenter's data, files and secrets,
for ooa region tenant import. Stop the server first.
--data=DIR One CommandCenter data folder (default: ~/OOA
Command Center).
--db-config=FILE Database settings other than DIR/config/ooa-db.
properties.
--db-password-env=VAR
The environment variable with that account's
password.
--db-url=URL A JDBC address instead of the configured database.
--db-user=NAME Its account.
-h, --help Show this help.
--out=FILE The move file to write, such as acme.ooamove.
--password-env=VAR The environment variable with the passphrase that
encrypts the file (12 characters or more).
--with-history Also move the run history (runs, their events, AI
calls, test runs, alerts).

ooa directory​

Usage: ooa directory [-h] [COMMAND]
The global directory of a SaaS service with several regions.
-h, --help Show this help.
Commands:
start Start the directory (config/ooa-directory.properties lists the
regions).

ooa directory start​

Usage: ooa directory start [-h] [--data=DIR] [--host=HOST] [--port=N]
Start the directory (config/ooa-directory.properties lists the regions).
--data=DIR Its data folder.
-h, --help Show this help.
--host=HOST The address to listen on (default 0.0.0.0).
--port=N The port (default 8720).

ooa migrate​

Usage: ooa migrate [-h] FROM SOURCE OUT
Turn Automation Anywhere bots (JSON) or UiPath workflows (.xaml) into OOA
agents, with a report.
FROM aa or uipath.
SOURCE A bot file, or a folder of them.
OUT The folder for the agents and migration-report.json.
-h, --help Show this help.

ooa check​

Usage: ooa check [-h] [--data=DIR] [--port=N]
Check whether this computer is ready for One CommandCenter.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.
--port=N The port it will use (default 8720).

ooa docflow​

Usage: ooa docflow [-h] [COMMAND]
Document Automation's DocFlow service.
-h, --help Show this help.
Commands:
configure Record where DocFlow is and its service token (encrypted with the
vault key); the Windows installer runs it.

ooa docflow configure​

Usage: ooa docflow configure [-h] [--data=DIR] --token-env=VAR [--url=URL]
Record where DocFlow is and its service token (encrypted with the vault key);
the Windows installer runs it.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.
--token-env=VAR The environment variable with DocFlow's service token
(its DOCAUTO_API_TOKEN).
--url=URL DocFlow's address (default http://127.0.0.1:8085).

ooa vault​

Usage: ooa vault [-h] [COMMAND]
Look after the vault's master key.
-h, --help Show this help.
Commands:
rekey Re-encrypt every stored secret with a new master key. Stop the server
first.

ooa vault rekey​

Usage: ooa vault rekey [-h] [--data=DIR] [--db-config=FILE]
[--db-password-env=VAR] [--db-url=URL] [--db-user=NAME]
--new-key-env=VAR
Re-encrypt every stored secret with a new master key. Stop the server first.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--db-config=FILE Database settings other than DIR/config/ooa-db.
properties.
--db-password-env=VAR
The environment variable with that account's password.
--db-url=URL A JDBC address instead of the configured database.
--db-user=NAME Its account.
-h, --help Show this help.
--new-key-env=VAR The environment variable with the new key (32 random
bytes, Base64).

ooa dr​

Usage: ooa dr [-h] [COMMAND]
Disaster recovery: check a second site and make it the active one
(docs/infrastructure/07-backup-restore-and-disaster-recovery.md).
-h, --help Show this help.
Commands:
status This site's database, leader, nodes, repository files, last backup
and address.
check The same as checks with what to do; exit code 1 when one fails.
promote After the DBA failed the database over here: end the old leader
lease, set the address, write a record.

ooa dr status​

Usage: ooa dr status [-h] [--config=FILE] [--data=DIR]
This site's database, leader, nodes, repository files, last backup and address.
--config=FILE The settings file (default DIR/config/ooa-db.properties).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.

ooa dr check​

Usage: ooa dr check [-h] [--config=FILE] [--data=DIR]
The same as checks with what to do; exit code 1 when one fails.
--config=FILE The settings file (default DIR/config/ooa-db.properties).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.

ooa dr promote​

Usage: ooa dr promote [-h] [--yes] [--config=FILE] [--data=DIR]
[--public-url=URL]
After the DBA failed the database over here: end the old leader lease, set the
address, write a record.
--config=FILE The settings file (default DIR/config/ooa-db.
properties).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.
--public-url=URL The address people and runners use at this site.
--yes Go ahead (without it, only the checks are shown).

ooa backup​

Usage: ooa backup [-h] [COMMAND]
Back up and restore One CommandCenter.
-h, --help Show this help.
Commands:
now Make a backup into the backup folder.
list List the backups, newest first.
restore Put a backup back. Stop the server first.

ooa backup now​

Usage: ooa backup now [-h] [--data=DIR] [--db-config=FILE]
[--db-password-env=VAR] [--db-url=URL] [--db-user=NAME]
Make a backup into the backup folder.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--db-config=FILE Database settings other than DIR/config/ooa-db.
properties.
--db-password-env=VAR
The environment variable with that account's password.
--db-url=URL A JDBC address instead of the configured database.
--db-user=NAME Its account.
-h, --help Show this help.

ooa backup list​

Usage: ooa backup list [-h] [--data=DIR] [--db-config=FILE]
[--db-password-env=VAR] [--db-url=URL] [--db-user=NAME]
List the backups, newest first.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--db-config=FILE Database settings other than DIR/config/ooa-db.
properties.
--db-password-env=VAR
The environment variable with that account's password.
--db-url=URL A JDBC address instead of the configured database.
--db-user=NAME Its account.
-h, --help Show this help.

ooa backup restore​

Usage: ooa backup restore [-h] [--replace] [--data=DIR] [--db-config=FILE]
[--db-password-env=VAR] [--db-url=URL]
[--db-user=NAME] FILE
Put a backup back. Stop the server first.
FILE The backup file.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--db-config=FILE Database settings other than DIR/config/ooa-db.
properties.
--db-password-env=VAR
The environment variable with that account's password.
--db-url=URL A JDBC address instead of the configured database.
--db-user=NAME Its account.
-h, --help Show this help.
--replace Delete the rows already there first.

ooa tls​

Usage: ooa tls [-h] [COMMAND]
HTTPS for One CommandCenter. Stop the server first; it uses the settings at its
next start.
-h, --help Show this help.
Commands:
configure Use the company's certificate (a .pfx or .p12 with its private
key); then set-password.
set-password Store the certificate file's password, encrypted with the vault
key.
self-signed Make a certificate for tests (browsers warn; runners need --ca).
show Show the certificate in use: its names and validity.
export-cert Save the certificate without its key, for runners (agent
register --ca) and browsers.
off Back to plain HTTP (the settings file is renamed, not deleted).

ooa tls configure​

Usage: ooa tls configure [-h] [--data=DIR] --pfx=FILE
Use the company's certificate (a .pfx or .p12 with its private key); then
set-password.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.
--pfx=FILE The certificate file.

ooa tls set-password​

Usage: ooa tls set-password [-h] [--data=DIR] [--from-env=VAR]
Store the certificate file's password, encrypted with the vault key.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--from-env=VAR Read it from this environment variable instead of asking.
-h, --help Show this help.

ooa tls self-signed​

Usage: ooa tls self-signed [-h] [--data=DIR] [--days=N] [--host=NAME]
Make a certificate for tests (browsers warn; runners need --ca).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
--days=N How long it is valid (default 825).
-h, --help Show this help.
--host=NAME The server's name (default: this computer's).

ooa tls show​

Usage: ooa tls show [-h] [--data=DIR]
Show the certificate in use: its names and validity.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.

ooa tls export-cert​

Usage: ooa tls export-cert [-h] [--data=DIR] --out=FILE
Save the certificate without its key, for runners (agent register --ca) and
browsers.
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.
--out=FILE The .cer file to write.

ooa tls off​

Usage: ooa tls off [-h] [--data=DIR]
Back to plain HTTP (the settings file is renamed, not deleted).
--data=DIR One CommandCenter data folder (default: ~/OOA Command
Center).
-h, --help Show this help.

ooa toolkit​

Usage: ooa toolkit [-h] [COMMAND]
Make and check signed custom toolkits.
-h, --help Show this help.
Commands:
keygen Make a publisher key pair.
sign Sign a toolkit jar.
inspect Show a toolkit jar's id, publisher, actions and whether its
signature matches.

ooa toolkit keygen​

Usage: ooa toolkit keygen [-h] [--out=DIR] --publisher=NAME
Make a publisher key pair.
-h, --help Show this help.
--out=DIR Where to write the keys (default: here).
--publisher=NAME The publisher's name (letters, digits, . _ -).

ooa toolkit sign​

Usage: ooa toolkit sign [-h] --class=NAME --jar=FILE --key=FILE [--out=FILE]
Sign a toolkit jar.
--class=NAME Its toolkit class.
-h, --help Show this help.
--jar=FILE The toolkit jar.
--key=FILE The publisher's private key.
--out=FILE The signed jar (default: the same file).

ooa toolkit inspect​

Usage: ooa toolkit inspect [-h] --jar=FILE
Show a toolkit jar's id, publisher, actions and whether its signature matches.
-h, --help Show this help.
--jar=FILE The toolkit jar.

ooa service​

Usage: ooa service [-h] [COMMAND]
Run One CommandCenter or a runner as a Windows service.
-h, --help Show this help.
Commands:
install Install the service (an administrator prompt appears).
uninstall Remove the service.
start Start the service.
stop Stop the service.
status Show whether the service is installed and running.

ooa service install​

Usage: ooa service install [-h] [--no-start] [--account=USER]
[--agent-config=FILE] [--data=DIR] [--host=HOST]
[--mode=MODE] [--name=NAME] [--password-env=VAR]
[--port=N] [--workspace=DIR]
Install the service (an administrator prompt appears).
--account=USER The account the service runs as (default
LocalSystem).
--agent-config=FILE The runner's registration (agent mode).
--data=DIR One CommandCenter data folder (default: ~/OOA
Command Center).
-h, --help Show this help.
--host=HOST The address to listen on.
--mode=MODE server (default), control-room or agent.
--name=NAME The service name (default 'OOA Command Center', or
'OOA Runner').
--no-start Install without starting it.
--password-env=VAR The environment variable with that account's
password.
--port=N The port (default 8720).
--workspace=DIR The workspace.

ooa service uninstall​

Usage: ooa service uninstall [-h] [--mode=MODE] [--name=NAME]
Remove the service.
-h, --help Show this help.
--mode=MODE server (default), control-room or agent.
--name=NAME The service name (default 'OOA Command Center', or 'OOA
Runner').

ooa service start​

Usage: ooa service start [-h] [--mode=MODE] [--name=NAME]
Start the service.
-h, --help Show this help.
--mode=MODE server (default), control-room or agent.
--name=NAME The service name (default 'OOA Command Center', or 'OOA
Runner').

ooa service stop​

Usage: ooa service stop [-h] [--mode=MODE] [--name=NAME]
Stop the service.
-h, --help Show this help.
--mode=MODE server (default), control-room or agent.
--name=NAME The service name (default 'OOA Command Center', or 'OOA
Runner').

ooa service status​

Usage: ooa service status [-h] [--mode=MODE] [--name=NAME]
Show whether the service is installed and running.
-h, --help Show this help.
--mode=MODE server (default), control-room or agent.
--name=NAME The service name (default 'OOA Command Center', or 'OOA
Runner').

ooa browser-connector​

Usage: ooa browser-connector [-h] [COMMAND]
The browser extension's link to this computer (shows its status).
-h, --help Show this help.
Commands:
install Register the connector with Edge and Chrome for this Windows user.
status Show whether Edge and Chrome can reach the connector.
uninstall Remove the connector's registration.

ooa browser-connector install​

Usage: ooa browser-connector install [-h] [--home=DIR]
Register the connector with Edge and Chrome for this Windows user.
-h, --help Show this help.
--home=DIR The install folder (default: this program's).

ooa browser-connector status​

Usage: ooa browser-connector status [-h] [--home=DIR]
Show whether Edge and Chrome can reach the connector.
-h, --help Show this help.
--home=DIR The install folder (default: this program's).

ooa browser-connector uninstall​

Usage: ooa browser-connector uninstall [-h] [--home=DIR]
Remove the connector's registration.
-h, --help Show this help.
--home=DIR The install folder (default: this program's).