github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/docs/2-the-jackal-cli/100-cli-commands/jackal_dev_generate-config.md (about)

     1  # jackal dev generate-config
     2  <!-- Auto-generated by hack/gen-cli-docs.sh -->
     3  
     4  Generates a config file for Jackal
     5  
     6  ## Synopsis
     7  
     8  Generates a Jackal config file for controlling how the Jackal CLI operates. Optionally accepts a filename to write the config to.
     9  
    10  The extension will determine the format of the config file, e.g. env-1.yaml, env-2.json, env-3.toml etc.
    11  Accepted extensions are json, toml, yaml.
    12  
    13  NOTE: This file must not already exist. If no filename is provided, the config will be written to the current working directory as jackal-config.toml.
    14  
    15  ```
    16  jackal dev generate-config [ FILENAME ] [flags]
    17  ```
    18  
    19  ## Options
    20  
    21  ```
    22    -h, --help   help for generate-config
    23  ```
    24  
    25  ## Options inherited from parent commands
    26  
    27  ```
    28    -a, --architecture string   Architecture for OCI images and Jackal packages
    29        --insecure              Allow access to insecure registries and disable other recommended security enforcements such as package checksum and signature validation. This flag should only be used if you have a specific reason and accept the reduced security posture.
    30    -l, --log-level string      Log level when running Jackal. Valid options are: warn, info, debug, trace (default "info")
    31        --no-color              Disable colors in output
    32        --no-log-file           Disable log file creation
    33        --no-progress           Disable fancy UI progress bars, spinners, logos, etc
    34        --tmpdir string         Specify the temporary directory to use for intermediate files
    35        --jackal-cache string     Specify the location of the Jackal cache directory (default "~/.jackal-cache")
    36  ```
    37  
    38  ## SEE ALSO
    39  
    40  * [jackal dev](jackal_dev.md)	 - Commands useful for developing packages