Skip to content
  • Jonathan Maw's avatar
    cli: Interactively warn if the user is trying to close the workspace they're... · f145a3e4
    Jonathan Maw authored
    cli: Interactively warn if the user is trying to close the workspace they're using to load the project
    
    This involves changes in:
    * _stream.py:
      * Add the helper Stream.workspace_is_required()
    * userconfig.yaml:
      * Add a default value for prompt.really-workspace-close-project-inaccessible
    * _context.py:
      * Load the prompt 'really-workspace-close-project-inaccessible' from
        user config.
    * cli.py:
      * If buildstream is invoked interactively, prompt the user to confirm
        that they want to close the workspace they're using to load this
        project.
    
    This is a part of #222
    f145a3e4