mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-10-31 09:09:25 +08:00 
			
		
		
		
	Move Spectre.Console.Cli to it's own package
This commit is contained in:
		 Patrik Svensson
					Patrik Svensson
				
			
				
					committed by
					
						 Patrik Svensson
						Patrik Svensson
					
				
			
			
				
	
			
			
			 Patrik Svensson
						Patrik Svensson
					
				
			
						parent
						
							b600832e00
						
					
				
				
					commit
					36ca22ffac
				
			| @@ -0,0 +1,4 @@ | ||||
| Error: Flags cannot be assigned a value. | ||||
|  | ||||
|        dog --alive foo | ||||
|            ^^^^^^^ Can't assign value | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Flags cannot be assigned a value. | ||||
|  | ||||
|        dog -a foo | ||||
|            ^^ Can't assign value | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Short option does not have a valid name. | ||||
|  | ||||
|        dog -f0o | ||||
|              ^ Not a valid name for a short option | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Invalid long option name. | ||||
|  | ||||
|        dog --f€oo | ||||
|               ^ Invalid character | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Invalid long option name. | ||||
|  | ||||
|        dog -- | ||||
|            ^^ Did you forget the option name? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Invalid long option name. | ||||
|  | ||||
|        dog --f | ||||
|            ^^^ Did you mean -f? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Invalid long option name. | ||||
|  | ||||
|        dog --1foo | ||||
|            ^^^^^^ Option names cannot start with a digit | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Could not match 'baz' with an argument. | ||||
|  | ||||
|        giraffe foo bar baz | ||||
|                        ^^^ Could not match to argument | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Option 'name' is defined but no value has been provided. | ||||
|  | ||||
|        dog --name | ||||
|            ^^^^^^ No value provided | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Option 'name' is defined but no value has been provided. | ||||
|  | ||||
|        dog -n | ||||
|            ^^ No value provided | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Option does not have a name. | ||||
|  | ||||
|        dog - | ||||
|            ^ Did you forget the option name? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Expected an option value. | ||||
|  | ||||
|        dog --foo= | ||||
|                  ^ Did you forget the option value? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Expected an option value. | ||||
|  | ||||
|        dog --foo: | ||||
|                  ^ Did you forget the option value? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Expected an option value. | ||||
|  | ||||
|        dog -f= | ||||
|               ^ Did you forget the option value? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Expected an option value. | ||||
|  | ||||
|        dog -f: | ||||
|               ^ Did you forget the option value? | ||||
| @@ -0,0 +1,3 @@ | ||||
| # Raw | ||||
| /c | ||||
| set && pause | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unexpected option 'foo'. | ||||
|  | ||||
|        --foo | ||||
|        ^^^^^ Did you forget the command? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unexpected option 'f'. | ||||
|  | ||||
|        -f | ||||
|        ^^ Did you forget the command? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown command 'cat'. | ||||
|  | ||||
|        cat 14 | ||||
|        ^^^ No such command | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown command 'other'. | ||||
|  | ||||
|        empty other | ||||
|              ^^^^^ No such command | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown command 'bat'. | ||||
|  | ||||
|        dog bat 14 | ||||
|            ^^^ Did you mean 'cat'? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown command 'bat'. | ||||
|  | ||||
|        bat 14 | ||||
|        ^^^ Did you mean 'cat'? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown command 'bat'. | ||||
|  | ||||
|        bat | ||||
|        ^^^ Did you mean 'cat'? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown command 'bat'. | ||||
|  | ||||
|        dog bat | ||||
|            ^^^ Did you mean 'cat'? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown command 'bat'. | ||||
|  | ||||
|        qux bat | ||||
|            ^^^ Did you mean 'bar'? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown command 'bat'. | ||||
|  | ||||
|        foo qux bat | ||||
|                ^^^ Did you mean 'bar'? | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown option 'unknown'. | ||||
|  | ||||
|        dog --unknown | ||||
|            ^^^^^^^^^ Unknown option | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Unknown option 'u'. | ||||
|  | ||||
|        dog -u | ||||
|            ^^ Unknown option | ||||
| @@ -0,0 +1,4 @@ | ||||
| Error: Encountered unterminated quoted string 'Rufus'. | ||||
|  | ||||
|        --name "Rufus | ||||
|               ^^^^^^ Did you forget the closing quotation mark? | ||||
		Reference in New Issue
	
	Block a user