Print Armor status
$ dotenvx armor status
$ dotenvx armor status
on
The command prints on when you are logged in and Armor is enabled. Otherwise, it prints off.
Requires the armor build feature. Add it with dotenvx install --add.
The examples below use the command syntax from Dotenvx 2.38.2 help. Core 3.0.0-rc2 requires the Armor feature to display subcommand help.
In a shell script, test for the documented on status before continuing.
$ dotenvx armor status | grep -qx on && echo 'Armor is enabled'