$ osascript -e ‘id of app “App Name”‘
Example: osascript -e 'id of app "WindTerm"' $ KingToolbox.WindTerm <- this is bundle id
$ defaults write <Bundle Identifier> NSRequiresAquaSystemAppearance -bool Yes
Example: defaults write KingToolbox.WindTerm NSRequiresAquaSystemAppearance -bool Yes
$ defaults delete <Bundle Identifier> NSRequiresAquaSystemAppearance