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