autocomplete
autocomplete copied to clipboard
Add/Update all commands from @antfu-collective/ni
All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.
Overview
src/nci.ts:
Info:
src/ni.ts:
Info:
src/na.ts:
Info:
src/nlx.ts:
Info:
Single Functions:
postProcess:
function (out) {
const curated = curatedSuggestions.reduce((acc, cur) => {
const name =
typeof cur === "string"
? cur
: Array.isArray(cur.name)
? cur.name[0]
: cur.name;
return name ? acc.concat(name) : acc;
}, [] as string[]);
return out
.split("\\n")
.filter((name) => !!name && !curated.includes(name))
.map((name) => ({
name,
icon: "fig://icon?type=command",
loadSpec: name,
}));
}
src/nr.ts:
Info:
src/nup.ts:
Info:
src/nun.ts:
Info:
Hello @JonathanXDR, thank you very much for creating a Pull Request! Here is a small checklist to get this PR merged as quickly as possible:
- [ ] Do all subcommands / options which take arguments include the
argsproperty (args: {})? - [ ] Are all options modular? E.g.
-a-u-xinstead of-aux - [ ] Have all other checks passed?
Please add a 👍 as a reaction to this comment to show that you read this.
I have read the CLA Document and I hereby sign the CLA
Hey @chaynabors @mschrage why didn't the CLA Workflow pass? Did I do something wrong?