[READ-ONLY] Mirror of https://github.com/bombshell-dev/tab. shell autocompletions for javascript CLIs
4

Configure Feed

Select the types of activity you want to include in your feed.

draft

Mohammad Bagher Abiyat (Sep 29, 2024, 7:52 PM +0330) 1e0ec86b 50c34211

+345
+1
.gitignore
··· 1 + node_modules/
+22
cac.ts
··· 1 + import cac from 'cac' 2 + 3 + const cli = cac('cac') 4 + 5 + cli.option('--type [type]', 'Choose a project type', { 6 + default: 'node', 7 + }) 8 + cli.option('--name <name>', 'Provide your name') 9 + 10 + cli.command('lint [...files]', 'Lint files').action((files, options) => { 11 + console.log(files, options) 12 + }) 13 + 14 + // Display help message when `-h` or `--help` appears 15 + cli.help() 16 + // Display version number when `-v` or `--version` appears 17 + // It's also used in help message 18 + cli.version('0.0.0') 19 + 20 + console.log('cli', cli) 21 + 22 +
index.ts

This is a binary file and will not be displayed.

+16
package.json
··· 1 + { 2 + "name": "ahh", 3 + "version": "0.0.0", 4 + "description": "", 5 + "main": "index.js", 6 + "scripts": { 7 + "test": "echo \"Error: no test specified\" && exit 1" 8 + }, 9 + "keywords": [], 10 + "author": "", 11 + "license": "ISC", 12 + "devDependencies": { 13 + "cac": "^6.7.14", 14 + "tsx": "^4.19.1" 15 + } 16 + }
+306
pnpm-lock.yaml
··· 1 + lockfileVersion: '9.0' 2 + 3 + settings: 4 + autoInstallPeers: true 5 + excludeLinksFromLockfile: false 6 + 7 + importers: 8 + 9 + .: 10 + devDependencies: 11 + cac: 12 + specifier: ^6.7.14 13 + version: 6.7.14 14 + tsx: 15 + specifier: ^4.19.1 16 + version: 4.19.1 17 + 18 + packages: 19 + 20 + '@esbuild/aix-ppc64@0.23.1': 21 + resolution: {integrity: sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==} 22 + engines: {node: '>=18'} 23 + cpu: [ppc64] 24 + os: [aix] 25 + 26 + '@esbuild/android-arm64@0.23.1': 27 + resolution: {integrity: sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==} 28 + engines: {node: '>=18'} 29 + cpu: [arm64] 30 + os: [android] 31 + 32 + '@esbuild/android-arm@0.23.1': 33 + resolution: {integrity: sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==} 34 + engines: {node: '>=18'} 35 + cpu: [arm] 36 + os: [android] 37 + 38 + '@esbuild/android-x64@0.23.1': 39 + resolution: {integrity: sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==} 40 + engines: {node: '>=18'} 41 + cpu: [x64] 42 + os: [android] 43 + 44 + '@esbuild/darwin-arm64@0.23.1': 45 + resolution: {integrity: sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==} 46 + engines: {node: '>=18'} 47 + cpu: [arm64] 48 + os: [darwin] 49 + 50 + '@esbuild/darwin-x64@0.23.1': 51 + resolution: {integrity: sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==} 52 + engines: {node: '>=18'} 53 + cpu: [x64] 54 + os: [darwin] 55 + 56 + '@esbuild/freebsd-arm64@0.23.1': 57 + resolution: {integrity: sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==} 58 + engines: {node: '>=18'} 59 + cpu: [arm64] 60 + os: [freebsd] 61 + 62 + '@esbuild/freebsd-x64@0.23.1': 63 + resolution: {integrity: sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==} 64 + engines: {node: '>=18'} 65 + cpu: [x64] 66 + os: [freebsd] 67 + 68 + '@esbuild/linux-arm64@0.23.1': 69 + resolution: {integrity: sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==} 70 + engines: {node: '>=18'} 71 + cpu: [arm64] 72 + os: [linux] 73 + 74 + '@esbuild/linux-arm@0.23.1': 75 + resolution: {integrity: sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==} 76 + engines: {node: '>=18'} 77 + cpu: [arm] 78 + os: [linux] 79 + 80 + '@esbuild/linux-ia32@0.23.1': 81 + resolution: {integrity: sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==} 82 + engines: {node: '>=18'} 83 + cpu: [ia32] 84 + os: [linux] 85 + 86 + '@esbuild/linux-loong64@0.23.1': 87 + resolution: {integrity: sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==} 88 + engines: {node: '>=18'} 89 + cpu: [loong64] 90 + os: [linux] 91 + 92 + '@esbuild/linux-mips64el@0.23.1': 93 + resolution: {integrity: sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==} 94 + engines: {node: '>=18'} 95 + cpu: [mips64el] 96 + os: [linux] 97 + 98 + '@esbuild/linux-ppc64@0.23.1': 99 + resolution: {integrity: sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==} 100 + engines: {node: '>=18'} 101 + cpu: [ppc64] 102 + os: [linux] 103 + 104 + '@esbuild/linux-riscv64@0.23.1': 105 + resolution: {integrity: sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==} 106 + engines: {node: '>=18'} 107 + cpu: [riscv64] 108 + os: [linux] 109 + 110 + '@esbuild/linux-s390x@0.23.1': 111 + resolution: {integrity: sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==} 112 + engines: {node: '>=18'} 113 + cpu: [s390x] 114 + os: [linux] 115 + 116 + '@esbuild/linux-x64@0.23.1': 117 + resolution: {integrity: sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==} 118 + engines: {node: '>=18'} 119 + cpu: [x64] 120 + os: [linux] 121 + 122 + '@esbuild/netbsd-x64@0.23.1': 123 + resolution: {integrity: sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==} 124 + engines: {node: '>=18'} 125 + cpu: [x64] 126 + os: [netbsd] 127 + 128 + '@esbuild/openbsd-arm64@0.23.1': 129 + resolution: {integrity: sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==} 130 + engines: {node: '>=18'} 131 + cpu: [arm64] 132 + os: [openbsd] 133 + 134 + '@esbuild/openbsd-x64@0.23.1': 135 + resolution: {integrity: sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==} 136 + engines: {node: '>=18'} 137 + cpu: [x64] 138 + os: [openbsd] 139 + 140 + '@esbuild/sunos-x64@0.23.1': 141 + resolution: {integrity: sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==} 142 + engines: {node: '>=18'} 143 + cpu: [x64] 144 + os: [sunos] 145 + 146 + '@esbuild/win32-arm64@0.23.1': 147 + resolution: {integrity: sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==} 148 + engines: {node: '>=18'} 149 + cpu: [arm64] 150 + os: [win32] 151 + 152 + '@esbuild/win32-ia32@0.23.1': 153 + resolution: {integrity: sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==} 154 + engines: {node: '>=18'} 155 + cpu: [ia32] 156 + os: [win32] 157 + 158 + '@esbuild/win32-x64@0.23.1': 159 + resolution: {integrity: sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==} 160 + engines: {node: '>=18'} 161 + cpu: [x64] 162 + os: [win32] 163 + 164 + cac@6.7.14: 165 + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} 166 + engines: {node: '>=8'} 167 + 168 + esbuild@0.23.1: 169 + resolution: {integrity: sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==} 170 + engines: {node: '>=18'} 171 + hasBin: true 172 + 173 + fsevents@2.3.3: 174 + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} 175 + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} 176 + os: [darwin] 177 + 178 + get-tsconfig@4.8.1: 179 + resolution: {integrity: sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==} 180 + 181 + resolve-pkg-maps@1.0.0: 182 + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} 183 + 184 + tsx@4.19.1: 185 + resolution: {integrity: sha512-0flMz1lh74BR4wOvBjuh9olbnwqCPc35OOlfyzHba0Dc+QNUeWX/Gq2YTbnwcWPO3BMd8fkzRVrHcsR+a7z7rA==} 186 + engines: {node: '>=18.0.0'} 187 + hasBin: true 188 + 189 + snapshots: 190 + 191 + '@esbuild/aix-ppc64@0.23.1': 192 + optional: true 193 + 194 + '@esbuild/android-arm64@0.23.1': 195 + optional: true 196 + 197 + '@esbuild/android-arm@0.23.1': 198 + optional: true 199 + 200 + '@esbuild/android-x64@0.23.1': 201 + optional: true 202 + 203 + '@esbuild/darwin-arm64@0.23.1': 204 + optional: true 205 + 206 + '@esbuild/darwin-x64@0.23.1': 207 + optional: true 208 + 209 + '@esbuild/freebsd-arm64@0.23.1': 210 + optional: true 211 + 212 + '@esbuild/freebsd-x64@0.23.1': 213 + optional: true 214 + 215 + '@esbuild/linux-arm64@0.23.1': 216 + optional: true 217 + 218 + '@esbuild/linux-arm@0.23.1': 219 + optional: true 220 + 221 + '@esbuild/linux-ia32@0.23.1': 222 + optional: true 223 + 224 + '@esbuild/linux-loong64@0.23.1': 225 + optional: true 226 + 227 + '@esbuild/linux-mips64el@0.23.1': 228 + optional: true 229 + 230 + '@esbuild/linux-ppc64@0.23.1': 231 + optional: true 232 + 233 + '@esbuild/linux-riscv64@0.23.1': 234 + optional: true 235 + 236 + '@esbuild/linux-s390x@0.23.1': 237 + optional: true 238 + 239 + '@esbuild/linux-x64@0.23.1': 240 + optional: true 241 + 242 + '@esbuild/netbsd-x64@0.23.1': 243 + optional: true 244 + 245 + '@esbuild/openbsd-arm64@0.23.1': 246 + optional: true 247 + 248 + '@esbuild/openbsd-x64@0.23.1': 249 + optional: true 250 + 251 + '@esbuild/sunos-x64@0.23.1': 252 + optional: true 253 + 254 + '@esbuild/win32-arm64@0.23.1': 255 + optional: true 256 + 257 + '@esbuild/win32-ia32@0.23.1': 258 + optional: true 259 + 260 + '@esbuild/win32-x64@0.23.1': 261 + optional: true 262 + 263 + cac@6.7.14: {} 264 + 265 + esbuild@0.23.1: 266 + optionalDependencies: 267 + '@esbuild/aix-ppc64': 0.23.1 268 + '@esbuild/android-arm': 0.23.1 269 + '@esbuild/android-arm64': 0.23.1 270 + '@esbuild/android-x64': 0.23.1 271 + '@esbuild/darwin-arm64': 0.23.1 272 + '@esbuild/darwin-x64': 0.23.1 273 + '@esbuild/freebsd-arm64': 0.23.1 274 + '@esbuild/freebsd-x64': 0.23.1 275 + '@esbuild/linux-arm': 0.23.1 276 + '@esbuild/linux-arm64': 0.23.1 277 + '@esbuild/linux-ia32': 0.23.1 278 + '@esbuild/linux-loong64': 0.23.1 279 + '@esbuild/linux-mips64el': 0.23.1 280 + '@esbuild/linux-ppc64': 0.23.1 281 + '@esbuild/linux-riscv64': 0.23.1 282 + '@esbuild/linux-s390x': 0.23.1 283 + '@esbuild/linux-x64': 0.23.1 284 + '@esbuild/netbsd-x64': 0.23.1 285 + '@esbuild/openbsd-arm64': 0.23.1 286 + '@esbuild/openbsd-x64': 0.23.1 287 + '@esbuild/sunos-x64': 0.23.1 288 + '@esbuild/win32-arm64': 0.23.1 289 + '@esbuild/win32-ia32': 0.23.1 290 + '@esbuild/win32-x64': 0.23.1 291 + 292 + fsevents@2.3.3: 293 + optional: true 294 + 295 + get-tsconfig@4.8.1: 296 + dependencies: 297 + resolve-pkg-maps: 1.0.0 298 + 299 + resolve-pkg-maps@1.0.0: {} 300 + 301 + tsx@4.19.1: 302 + dependencies: 303 + esbuild: 0.23.1 304 + get-tsconfig: 4.8.1 305 + optionalDependencies: 306 + fsevents: 2.3.3