config#

This subcommand provides functionality related to the config file.

$ scf config -h
Usage: scf config [OPTIONS] COMMAND [ARGS]...

Options:
  -h, --help  Show this message and exit.

Commands:
  dump  Dumps the current config
  edit  Edit the current config
  init  Creates the default config in the home directory

dump#

dump just prints the config, then exists.

$ scf config dump -h
Usage: scf config dump [OPTIONS]

  Dumps the current config

Options:
  -h, --help  Show this message and exit.

example#

$ scf config dump
[CACHE]
path = "/home/docs/.cache/"
expiration_days = 7
expiration_exceptions = [ "CVE-19*", "CVE-200*", "CVE-201*",]

[CONNECTION]
ssl_verify = true

edit#

edit opens the config in your editor.

$ scf config edit -h
Usage: scf config edit [OPTIONS]

  Edit the current config

Options:
  -h, --help  Show this message and exit.

example#

Set vim as editor and open the config:

export EDITOR=vim
scf config edit