Skip to content

feat(cli): optimize init command for LLM and non-interactive workflows - #63

Merged
carllosnc merged 1 commit into
masterfrom
fix/cli-init
Nov 11, 2026
Merged

carllosnc merged 1 commit into
masterfrom
fix/cli-init

Conversation

@carllosnc

Copy link
Copy Markdown
Owner

Summary

  • Add non-interactive flags to dashkit init: -c, --components-dir <dir> (alias -o, --output), --css-dir <dir>, --ai-rules [file], --no-ai-rules, -f, --force, --no-install, and --json
  • Automatically scaffold/update AGENTS.md during dashkit init so initialized projects are immediately ready for LLM coding assistants
  • Normalize componentsDir and cssDir to portable POSIX forward slashes and prevent duplicate /dashkit suffixes when trailing slashes are provided
  • Support existing dashkit.json defaults, single-line @import "tailwindcss"; injection, and proper error propagation in installDashkitCss
  • Silence ora spinners in non-TTY / --json execution to keep LLM context clean
  • Add unit and integration tests in scripts/tests/cli.test.ts and update cli.mdx / llms.txt

@netlify

netlify Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for dashkit ready!

Name Link
🔨 Latest commit 5a5b5d5
🔍 Latest deploy log https://app.netlify.com/projects/dashkit/deploys/6af4ca2e6eb8ba9994cb6d81
😎 Deploy Preview https://deploy-preview-63--dashkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@carllosnc
carllosnc merged commit e7f69b1 into master Nov 11, 2026
5 checks passed
@carllosnc
carllosnc deleted the fix/cli-init branch November 11, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant