virtual_fs: Remove fs_sample_conversation().
We already have "help" for specific commands, so the fs_sample_conversation() feature was mostly redundant.
This commit is contained in:
		
							parent
							
								
									4b9e3d655f
								
							
						
					
					
						commit
						820e949faf
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -123,7 +123,6 @@ REGEXES = dict(
 | 
			
		|||
def get_commands() -> Dict[str, Tuple[Any, List[str]]]:
 | 
			
		||||
    return {
 | 
			
		||||
        'help': (fs_help, ['command']),
 | 
			
		||||
        'sample_conversation': (fs_sample_conversation, ['command']),
 | 
			
		||||
        'ls': (fs_ls, ['optional_path']),
 | 
			
		||||
        'mkdir': (fs_mkdir, ['path']),
 | 
			
		||||
        'read': (fs_read, ['path']),
 | 
			
		||||
| 
						 | 
				
			
			@ -178,9 +177,6 @@ def fs_new() -> Dict[str, Any]:
 | 
			
		|||
def fs_help(fs: Dict[str, Any], user: str, cmd_name: str) -> Tuple[Dict[str, Any], Any]:
 | 
			
		||||
    return fs, syntax_help(cmd_name)
 | 
			
		||||
 | 
			
		||||
def fs_sample_conversation(fs: Dict[str, Any], user: str, cmd_name: str) -> Tuple[Dict[str, str], str]:
 | 
			
		||||
    return fs, syntax_help(cmd_name)
 | 
			
		||||
 | 
			
		||||
def fs_mkdir(fs: Dict[str, Any], user: str, fn: str) -> Tuple[Dict[str, Any], Any]:
 | 
			
		||||
    path, msg = make_path(fs, user, fn)
 | 
			
		||||
    if msg:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue