Dead Development Installation
Use a Bash terminal. Windows CMD and PowerShell can have trouble with nested JSON.
// 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"Syntax
If you've used Angular CLI or similar tools, DeadLibrary CLI will feel familiar. Commands are parsed and sent to the DeadLibrary API, which returns generated code.
You can write commands using JSON syntax or use the --ai option to write in natural language. The AI parser doesn't generate code. It converts your input into a valid command, then that command generates the 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"// Write a command
dead g "c -n dead-card -t outlined -c \"class-1 class-2\" --content {\"els\":[{...}]} --language angular-20"// Invoke the --ai option
dead g --ai c "named dead-card; boilerplate out a card with header, content, and actions."