8000 leetcode-cli/.lc-completion.bash at master · wong2/leetcode-cli · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"bin","path":"bin","contentType":"directory"},{"name":"doc","path":"doc","contentType":"directory"},{"name":"lib","path":"lib","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".eslintrc.js","path":".eslintrc.js","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".lc-completion.bash","path":".lc-completion.bash","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"package.json","path":"package.json","contentType":"file"}],"totalCount":11}},"fileTreeProcessingTime":6.802968000000001,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":70383385,"defaultBranch":"master","name":"leetcode-cli","ownerLogin":"wong2","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2016-10-09T06:53:18.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/321947?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1476176338.0","canEdit":false,"refType":"branch","currentOid":"084b3e0a5e2d9b23d3c210c0554186c8f90aa97d"},"path":".lc-completion.bash","currentUser":null,"blob":{"rawLines":["###-begin-lc-completions-###","#","# yargs command completion script","#","# Installation: bin/lc completion \u003e\u003e ~/.bashrc","# or bin/lc completion \u003e\u003e ~/.bash_profile on OSX.","#","_yargs_completions()","{"," local cur_word args type_list",""," cur_word=\"${COMP_WORDS[COMP_CWORD]}\""," args=(\"${COMP_WORDS[@]}\")",""," # ask yargs to generate completions."," type_list=$(lc --get-yargs-completions \"${args[@]}\")",""," COMPREPLY=( $(compgen -W \"${type_list}\" -- ${cur_word}) )",""," # if no match was found, fall back to filename completion"," if [ ${#COMPREPLY[@]} -eq 0 ]; then"," COMPREPLY=( $(compgen -f -- \"${cur_word}\" ) )"," fi",""," return 0","}","complete -F _yargs_completions lc","###-end-lc-completions-###"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/wong2/leetcode-cli/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":".lc-completion.bash","displayUrl":"https://github.com/wong2/leetcode-cli/blob/master/.lc-completion.bash?raw=true","headerInfo":{"blobSize":"699 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"e9a42e7","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fwong2%2Fleetcode-cli%2Fblob%2Fmaster%2F.lc-completion.bash","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"28","truncatedSloc":"23"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Shell","languageID":346,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/wong2/leetcode-cli/blob/master/.lc-completion.bash","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/wong2/leetcode-cli/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/wong2/leetcode-cli/raw/refs/heads/master/.lc-completion.bash","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"_yargs_completions","kind":"function","ident_start":169,"ident_end":187,"extent_start":169,"extent_end":637,"fully_qualified_name":"_yargs_completions","ident_utf16":{"start":{"line_number":7,"utf16_col":0},"end":{"line_number":7,"utf16_col":18}},"extent_utf16":{"start":{"line_number":7,"utf16_col":0},"end":{"line_number":25,"utf16_col":1}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/wong2/leetcode-cli/branches":{"post":"_2l9gVaaGLWH130wPDBWf-ugPNVH7pOcoLmoldjYiyKO6OT1ana9QrOK209Q-4aE602JFaUaWvKZl1GbiJF9Fw"},"/repos/preferences":{"post":"InNQdeLpHDR5ft6mo5hFqlXV-fx_4MT0-qfcDBYGSZrX6WLLMOwsFPNzQ9c05_OLDMXi1NmG5-d_u0wFg1na-g"}}},"title":"leetcode-cli/.lc-completion.bash at master · wong2/leetcode-cli","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
0