mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
doc: add -json flag doc for init and get command (#1460)
Signed-off-by: Syasusu <syasusu@163.com>
This commit is contained in:
parent
63ae75ea2b
commit
0b90cc3383
@ -21,3 +21,6 @@ The `get` command supports the following option:
|
||||
checked for updates and the updates will be downloaded if present.
|
||||
|
||||
* `-no-color` - Disable text coloring in the output.
|
||||
|
||||
* `-json` Produce output in a machine-readable JSON format, suitable for use
|
||||
in text editor integrations and other automated systems. Always disables color.
|
||||
|
@ -43,6 +43,9 @@ The following options apply to all of (or several of) the initialization steps:
|
||||
* `-upgrade` Opt to upgrade modules and plugins as part of their respective
|
||||
installation steps. See the sections below for more details.
|
||||
|
||||
* `-json` Produce output in a machine-readable JSON format, suitable for use
|
||||
in text editor integrations and other automated systems. Always disables color.
|
||||
|
||||
## Copy a Source Module
|
||||
|
||||
By default, `tofu init` assumes that the working directory already
|
||||
|
Loading…
Reference in New Issue
Block a user