def do_save(self, line):
        """save [config_file] Save session variables to file save (without parameters):
        Save session to default file ~/.dataone_cli.conf save.

        <file>: Save session to specified file.

        """
        config_file = self._split_args(line, 0, 1)[0]
        self._command_processor.get_session().save(config_file)
        if config_file is None:
            config_file = (
                self._command_processor.get_session().get_default_pickle_file_path()
            )
        self._print_info_if_verbose("Saved session to file: {}".format(config_file))
def do_save ( self , line ) : config_file = self . _split_args ( line , 0 , 1 ) [ 0 ] self . _command_processor . get_session ( ) . save ( config_file ) if config_file is None : config_file = ( self . _command_processor . get_session ( ) . get_default_pickle_file_path ( ) ) self . _print_info_if_verbose ( "Saved session to file: {}" . format ( config_file ) )
save [config_file] Save session variables to file save (without parameters):
        Save session to default file ~/.dataone_cli.conf save.

        <file>: Save session to specified file.