Download mods/sec-default/tests/fixtures/command-described.ts from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/sec-default/tests/fixtures/command-described.ts
- Command line
-
hf download hf://SaylorTwift/claude-code/mods/sec-default/tests/fixtures/command-described.ts
-
curl -L -o command-described.ts https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/sec-default/tests/fixtures/command-described.ts
513 Bytes
| import type { CommandDescribeInput, Origin } from 'claude-code' | |
| /** | |
| * A visible command's description as the engine asks for it, pinned to | |
| * who provides the command. | |
| * | |
| * @param command the command's name, no slash | |
| * @param provider who provides it, as the engine pinned it | |
| * @returns the `command.describe` input | |
| */ | |
| export const commandDescribed = ( | |
| command: string, | |
| provider: Origin, | |
| ): CommandDescribeInput => ({ | |
| command, | |
| description: 'd', | |
| isHidden: false, | |
| immediate: false, | |
| provider, | |
| }) | |