mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 01:05:26 +01:00 
			
		
		
		
	Use Survey For Interactions With User (#186)
fixes Use Survey For Interactions With User Add Vendor "github.com/AlecAivazis/survey/v2" Co-authored-by: Norwin Roosen <git@nroo.de> Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/186 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
		
							
								
								
									
										36
									
								
								vendor/github.com/kballard/go-shellquote/README
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								vendor/github.com/kballard/go-shellquote/README
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,36 @@ | ||||
| PACKAGE | ||||
|  | ||||
| package shellquote | ||||
|     import "github.com/kballard/go-shellquote" | ||||
|  | ||||
|     Shellquote provides utilities for joining/splitting strings using sh's | ||||
|     word-splitting rules. | ||||
|  | ||||
| VARIABLES | ||||
|  | ||||
| var ( | ||||
|     UnterminatedSingleQuoteError = errors.New("Unterminated single-quoted string") | ||||
|     UnterminatedDoubleQuoteError = errors.New("Unterminated double-quoted string") | ||||
|     UnterminatedEscapeError      = errors.New("Unterminated backslash-escape") | ||||
| ) | ||||
|  | ||||
|  | ||||
| FUNCTIONS | ||||
|  | ||||
| func Join(args ...string) string | ||||
|     Join quotes each argument and joins them with a space. If passed to | ||||
|     /bin/sh, the resulting string will be split back into the original | ||||
|     arguments. | ||||
|  | ||||
| func Split(input string) (words []string, err error) | ||||
|     Split splits a string according to /bin/sh's word-splitting rules. It | ||||
|     supports backslash-escapes, single-quotes, and double-quotes. Notably it | ||||
|     does not support the $'' style of quoting. It also doesn't attempt to | ||||
|     perform any other sort of expansion, including brace expansion, shell | ||||
|     expansion, or pathname expansion. | ||||
|  | ||||
|     If the given input has an unterminated quoted string or ends in a | ||||
|     backslash-escape, one of UnterminatedSingleQuoteError, | ||||
|     UnterminatedDoubleQuoteError, or UnterminatedEscapeError is returned. | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 6543
					6543