Dead Development skull logo Dead Development

Installation

Use a Bash, Zsh, or PowerShell terminal. Single quotes avoid the need to escape JSON. Windows CMD users should use WSL or Git Bash.

// install the latest version

npm i -g deadlibrary-cli

// login using your Username and Password

dead login

// try a help command

dead g 'c -h'

Macro Commands

Macro commands generate multi-file Angular components, services, and themes. 20 commands are available covering forms, toolbars, modals, cards, navigation, and more. Full documentation is included in the SKILL.md file bundled with the CLI package.

Artifact Commands (Beta)

Artifact commands generate single code fragments targeting a specific file. 36 commands cover the full TypeScript language surface with support for 8 language targets: TypeScript, JavaScript, Python, Java, PHP, Go, C#, and Rust. Full documentation is coming soon.

Syntax

If you have used Angular CLI or similar tools, DeadLibrary CLI will feel familiar. Commands are parsed and sent to the DeadLibrary API, which returns generated code.

// Help for dead (entire CLI package)

dead -h

// List all commands for dead g

dead g 'dd -h'

// Get the input shape for a command

dead g 'generateCard --help'
dead g 'c -h'

// Macro command example

dead g 'c -n dead-card -t outlined -c "class-1 class-2" --content {"els":[{...}]} --language angular-20'

// Artifact command example

dead g 'f --language ts --name processData --export --async --params [{"name":"id","type":"string"}] --returnType Promise<void>' -f utils

Syntax checklist:

  • Subscribe to DeadLibrary to generate code with DeadLibrary CLI.
  • Use a Bash, Zsh, or PowerShell terminal.
  • Wrap the command string in single quotes to avoid escaping JSON.
  • Use commander flag syntax for options (-n or --name).
  • Do not wrap top-level arrays or objects in extra quotes.
  • Windows CMD users should use WSL or Git Bash for single quote support.
  • Full command reference is available in the SKILL.md file: cp $(npm root -g)/deadlibrary-cli/SKILL.md