Skip to content

specgate init

The specgate init command creates a new .specgate.yaml file. This file allows you to configure SpecGate’s behavior. To learn more about .specgate.yaml, see Configuration.

After you run specgate init, a new configuration file is created:

.specgate.yaml
config:
    server_block_list:
        - http://www.example.com

Usage

terminal
specgate init

Unique options

These are options that only apply to the specgate init command:

Force

Use the --force option to restore an existing configuration file to its default settings.

terminal
specgate init --force