CmdID

CmdID / Commands

tofu-fmt

Format configuration according to OpenTofu language style conventions. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Format the configuration in the current directory

tofu fmtIdentify

Format the configuration in the current directory and subdirectories

tofu fmt -recursiveIdentify

Display diffs of formatting changes

tofu fmt -diffIdentify

Do not list files that were formatted to stdout

tofu fmt -list=falseIdentify