autocomplete icon indicating copy to clipboard operation
autocomplete copied to clipboard

Add/Update all commands from @antfu-collective/ni

Open JonathanXDR opened this issue 4 months ago • 5 comments

Added/Updated Specs for ni (including all other commands from the package)

JonathanXDR avatar Aug 21 '25 16:08 JonathanXDR

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

withfig-bot avatar Aug 21 '25 16:08 withfig-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:

withfig-bot avatar Aug 21 '25 16:08 withfig-bot

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 args property (args: {})?
  • [ ] Are all options modular? E.g. -a -u -x instead of -aux
  • [ ] Have all other checks passed?

Please add a 👍 as a reaction to this comment to show that you read this.

withfig-bot avatar Aug 21 '25 16:08 withfig-bot

I have read the CLA Document and I hereby sign the CLA

JonathanXDR avatar Aug 21 '25 16:08 JonathanXDR

Hey @chaynabors @mschrage why didn't the CLA Workflow pass? Did I do something wrong?

JonathanXDR avatar Aug 21 '25 16:08 JonathanXDR