Skip to main content

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

boolean
Set up globally for all projects (uses ~/.devdaily.json)
boolean
Only set up shell alias (dd)
boolean
Only set up shell completions
boolean
Only create config file
boolean
Only set up project management integration
boolean
Only set up Slack/Discord notifications
boolean
Install git hooks for automatic snapshots (post-commit, post-checkout)
boolean
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

Adds dd as a shortcut for devdaily:
Supported shells: zsh, bash, fish

Shell Completions

Enables tab completion for:
  • Commands (standup, pr, week, etc.)
  • Options (—days, —format, etc.)
  • Subcommands

Configuration File

Creates:
  • Local: .devdaily.json in project root
  • Global: ~/.devdaily.json in home directory
Stores preferences for:
  • Default branch
  • Output format
  • Theme colors
  • PM tool settings

PM Integration

Supported tools:
  • GitHub Issues (default, uses gh CLI)
  • Jira (API token required)
  • Linear (API key required)
  • Notion (integration token required)
Collects credentials and stores them securely in .devdaily.secrets.json (auto-added to .gitignore).

Notifications

Configures webhooks for:
  • Slack - Incoming Webhooks
  • Discord - Webhook URLs
Allows sending standups directly to team channels.

PR Prompt File

Creates .devdaily-pr-prompt.md with sample guidelines:
Customize this file to match your team’s PR standards.

Git Hooks

Installs hooks to automatically take snapshots:
  • post-commit - After each commit
  • post-checkout - When switching branches
Works safely alongside existing hooks.

Interactive Setup Flow

When running devdaily init without options:
  1. Shell Setup - Alias and completions
  2. Config File - Local or global
  3. PM Tool - Select and configure
  4. Default Branch - Auto-detect or specify
  5. PR Settings - Diff inclusion, max lines
  6. PR Prompt - Create custom guidelines
  7. Notifications - Slack/Discord webhooks
  8. 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:
This file is automatically added to .gitignore.

After Setup

Restart your shell or run:
Then test:

Requirements

  • Shell: zsh, bash, or fish
  • Git repository (for local setup)
  • Optional: gh CLI for GitHub features
  • Optional: PM tool API access