Download coderank/pairs/docs-cobra.jsonl from paintedwolfcode/bialy-dataset: direct link, hf CLI and curl.
- Browser
- Download file 7.84 kB
-
https://huggingface.co/datasets/paintedwolfcode/bialy-dataset/resolve/main/coderank/pairs/docs-cobra.jsonl
- Command line
-
hf download hf://datasets/paintedwolfcode/bialy-dataset/coderank/pairs/docs-cobra.jsonl
-
curl -L -o docs-cobra.jsonl https://huggingface.co/datasets/paintedwolfcode/bialy-dataset/resolve/main/coderank/pairs/docs-cobra.jsonl
7.84 kB
| {"repo": "cobra", "file": "active_help.go", "line": 26, "symbol": "activeHelpEnvVarSuffix", "task": "The below values should not be changed: programs will be using them explicitly in their user documentation, and users will be using them explicitly.", "query": "below values should", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "active_help.go", "line": 38, "symbol": "AppendActiveHelp", "task": "Such strings will be processed by the completion script and will be shown as ActiveHelp to the user.", "query": "such strings will", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "active_help.go", "line": 58, "symbol": "activeHelpEnvVar", "task": "returns the name of the program-specific ActiveHelp environment variable.", "query": "returns name program", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "args.go", "line": 28, "symbol": "legacyArgs", "task": "validation has the following behaviour: - root commands with no subcommands can take arbitrary arguments - root commands with subcommands will do subcommand validity checking - subcommands will always accept arbitrary arguments", "query": "validation following behaviour", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "args.go", "line": 127, "symbol": "MatchAll", "task": "allows combining several PositionalArgs to work in concert.", "query": "allows combining several", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "bash_completions_test.go", "line": 78, "symbol": "bashCompletionFunc", "task": "World worst custom function, just keep telling you to enter hello!", "query": "world worst custom", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "cobra.go", "line": 72, "symbol": "MousetrapHelpText", "task": "enables an information splash screen on Windows if the CLI is started from explorer.exe.", "query": "enables information splash", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "cobra.go", "line": 81, "symbol": "MousetrapDisplayDuration", "task": "controls how long the MousetrapHelpText message is displayed on Windows if the CLI is started from explorer.exe.", "query": "controls long mousetraphelptext", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "cobra.go", "line": 99, "symbol": "OnInitialize", "task": "sets the passed functions to be run when each command's Execute method is called.", "query": "sets passed functions", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "cobra.go", "line": 105, "symbol": "OnFinalize", "task": "sets the passed functions to be run when each command's Execute method is terminated.", "query": "sets passed functions", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "cobra.go", "line": 114, "symbol": "Gt", "task": "takes two types and checks whether the first type is greater than the second.", "query": "takes types checks", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "cobra.go", "line": 144, "symbol": "Eq", "task": "takes two types and checks whether they are equal.", "query": "takes types checks", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "cobra.go", "line": 174, "symbol": "rpad", "task": "adds padding to the right of a string.", "query": "adds padding right", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "cobra.go", "line": 192, "symbol": "ld", "task": "compares two strings and returns the levenshtein distance between them.", "query": "compares strings returns", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "cobra.go", "line": 235, "symbol": "CheckErr", "task": "prints the msg with the prefix 'Error:' and exits with error code 1.", "query": "prints with prefix", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "command.go", "line": 45, "symbol": "Group", "task": "Structure to manage groups for commands", "query": "structure manage groups", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "command.go", "line": 289, "symbol": "SetOutput", "task": "sets the destination for usage and error messages.", "query": "sets destination usage", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "command.go", "line": 296, "symbol": "SetOut", "task": "sets the destination for usage messages.", "query": "sets destination usage", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "command.go", "line": 302, "symbol": "SetErr", "task": "sets the destination for error messages.", "query": "sets destination error", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "command.go", "line": 308, "symbol": "SetIn", "task": "sets the source for input data If newIn is nil, os.Stdin is used.", "query": "sets source input", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "command_test.go", "line": 770, "symbol": "TestEmptyInputs", "task": "checks, if flags correctly parsed with blank strings in args.", "query": "checks flags correctly", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 41, "symbol": "flagCompletionMutex", "task": "lock for reading and writing from flagCompletionFunctions", "query": "lock reading writing", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 80, "symbol": "ShellCompDirectiveFilterDirs", "task": "indicates that only directory names should be provided in file completion.", "query": "indicates that only", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 90, "symbol": "shellCompDirectiveMaxValue", "task": "All directives using iota should be above this one.", "query": "directives using iota", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 160, "symbol": "FixedCompletions", "task": "can be used to create a completion function which always returns the same results.", "query": "used create completion", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 579, "symbol": "comps", "task": "Go custom completion defined for this flag or command.", "query": "custom completion defined", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 955, "symbol": "CompDebug", "task": "prints the specified string to the same file as where the completion script prints its logs.", "query": "prints specified string", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 980, "symbol": "CompDebugln", "task": "prints the specified string with a newline at the end to the same file as where the completion script prints its logs.", "query": "prints specified string", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 985, "symbol": "CompError", "task": "prints the specified completion message to stderr.", "query": "prints specified completion", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 991, "symbol": "CompErrorln", "task": "prints the specified completion message to stderr with a newline at the end.", "query": "prints specified completion", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "completions.go", "line": 1006, "symbol": "configEnvVar", "task": "returns the name of the program-specific configuration environment variable.", "query": "returns name program", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "doc/util.go", "line": 41, "symbol": "forceMultiLine", "task": "Temporary workaround for yaml lib generating incorrect yaml with long strings that do not contain \\n.", "query": "temporary workaround yaml", "lang": "en", "source": "docs"} | |
| {"repo": "cobra", "file": "flag_groups.go", "line": 81, "symbol": "ValidateFlagGroups", "task": "validates the mutuallyExclusive/oneRequired/requiredAsGroup logic and returns the first error encountered.", "query": "validates mutuallyexclusive onerequired", "lang": "en", "source": "docs"} | |