Source code for gfinder.commands.config
"""GFINDER CLI `config` command."""
import click
from .docstring import set_docstring
from gfinder.config import Config
@click.command(name='config')
def config_cmd():
"""Get information about configuration.
"""
config()
[docs]@set_docstring(config_cmd)
def config():
click.echo()
click.echo(' Kernels directory : {}'.format(Config().kernels_dir))
click.echo(' Application data directory : {}'.format(Config().app_data_dir))
click.echo(' User data directory : {}'.format(Config().user_data_dir))
click.echo(' Default mission scenario ID : {}'.format(Config().default_mission_scenario_id))
click.echo()