The command-line interface for BCS (Bastards Content System) that helps you manage and interact with your CMS projects.
-
Project Initialization 🚀
- Set up new BCS projects with a single command
- Generate necessary configuration files
- Set up proper folder structure
-
Development Tools 💻
- Run development server with live preview
- Watch mode for real-time updates
- Automatic type generation from schemas
-
Build & Validation ✅
- Build your CMS for production
- Validate configuration files
- Generate TypeScript types
- Bundle admin interface
-
Content Management 📝
- Manage content types and schemas
- Handle media assets
- Configure data adapters
npm install @bastards/bcs
# or
pnpm add @bastards/bcs
# or
yarn add @bastards/bcs
- Initialize a new BCS project:
npx bcs init
- Start the development server:
npx bcs dev
- Build for production:
npx bcs build
-
bcs init
- Initialize a new BCS project -
bcs dev
- Start development server -
bcs build
- Build for production -
bcs validate
- Validate configuration -
bcs help
- Show help information
The CLI uses the bcs.config.ts
file in your project root for configuration. For detailed configuration options and examples, please refer to the main project documentation.
We welcome contributions! Please see our Contributing Guide for details.
MIT - see the main project repository for details.
For more information about BCS and its features, check out:
- BCS Documentation (Coming soon, still working on it!)
- Main Project README
- Software Bastards