code: def get_config_directory():
      
      # avoid circular import
      from .commands.stacker import Stacker
      command = Stacker()
      namespace = command.parse_args()
      return os.path.dirname(namespace.config.name)
docs: Return the directory the config file is located in.
  
      This enables us to use relative paths in config values.