Usage: shadcn init [options] [components...]initialize your project and install dependenciesArguments: components the components to add or a url to the component.Options: -y, --yes skip confirmation prompt. (default: true) -d, --defaults, use default configuration. (default: false) -f, --force force overwrite of existing configuration. (default: false) -c, --cwd <cwd> the working directory. defaults to the current directory. (default: "/Users/shadcn/Desktop") -s, --silent mute output. (default: false) --src-dir use the src directory when creating a new project. (default: false) --no-src-dir do not use the src directory when creating a new project. --css-variables use css variables for theming. (default: true) --no-css-variables do not use css variables for theming. -h, --help display help for command
Usage: shadcn add [options] [components...]add a component to your projectArguments: components the components to add or a url to the component.Options: -y, --yes skip confirmation prompt. (default: false) -o, --overwrite overwrite existing files. (default: false) -c, --cwd <cwd> the working directory. defaults to the current directory. (default: "/Users/shadcn/Desktop") -a, --all add all available components (default: false) -p, --path <path> the path to add the component to. -s, --silent mute output. (default: false) --src-dir use the src directory when creating a new project. (default: false) --no-src-dir do not use the src directory when creating a new project. --css-variables use css variables for theming. (default: true) --no-css-variables do not use css variables for theming. -h, --help display help for command
Usage: shadcn build [options] [registry]build components for a shadcn registryArguments: registry path to registry.json file (default: "./registry.json")Options: -o, --output <path> destination directory for json files (default: "./public/r") -c, --cwd <cwd> the working directory. defaults to the current directory. (default: "/Users/shadcn/Code/shadcn/ui/packages/shadcn") -h, --help display help for command
To customize the output directory, use the --output option.