Description
Interactive setup wizard that configures DevDaily for your environment. Sets up shell aliases, completions, configuration files, PM tool integrations, and git hooks.Usage
Options
Set up globally for all projects (uses
~/.devdaily.json)Only set up shell alias (
dd)Only set up shell completions
Only create config file
Only set up project management integration
Only set up Slack/Discord notifications
Install git hooks for automatic snapshots (post-commit, post-checkout)
Remove previously installed devdaily git hooks
Examples
Interactive setup
Global setup
Just shell alias
PM integration only
Notifications only
Install git hooks
Remove git hooks
Setup Features
Shell Alias
Addsdd as a shortcut for devdaily:
Shell Completions
Enables tab completion for:- Commands (standup, pr, week, etc.)
- Options (—days, —format, etc.)
- Subcommands
Configuration File
Creates:- Local:
.devdaily.jsonin project root - Global:
~/.devdaily.jsonin home directory
- Default branch
- Output format
- Theme colors
- PM tool settings
PM Integration
Supported tools:- GitHub Issues (default, uses
ghCLI) - Jira (API token required)
- Linear (API key required)
- Notion (integration token required)
.devdaily.secrets.json (auto-added to .gitignore).
Notifications
Configures webhooks for:- Slack - Incoming Webhooks
- Discord - Webhook URLs
PR Prompt File
Creates.devdaily-pr-prompt.md with sample guidelines:
Git Hooks
Installs hooks to automatically take snapshots:- post-commit - After each commit
- post-checkout - When switching branches
Interactive Setup Flow
When runningdevdaily init without options:
- Shell Setup - Alias and completions
- Config File - Local or global
- PM Tool - Select and configure
- Default Branch - Auto-detect or specify
- PR Settings - Diff inclusion, max lines
- PR Prompt - Create custom guidelines
- Notifications - Slack/Discord webhooks
- Git Hooks - Auto-snapshot setup
Configuration Location
Local (per-project)
- Config:
.devdaily.json - Secrets:
.devdaily.secrets.json - Location: Repository root
Global (user-wide)
- Config:
~/.devdaily.json - Secrets:
~/.devdaily.secrets.json - Location: Home directory
Secrets Storage
Sensitive credentials are stored in.devdaily.secrets.json:
.gitignore.
After Setup
Restart your shell or run:Requirements
- Shell: zsh, bash, or fish
- Git repository (for local setup)
- Optional:
ghCLI for GitHub features - Optional: PM tool API access