Thank you for your interest in contributing to CodeVF CLI!
- Clone the repository:
git clone https://github.com/codevf/cli.git
cd cli- Install dependencies:
npm install- Build the project:
npm run build- Run in development mode:
npm run dev -- <command>src/
├── commands/ # CLI command implementations
│ ├── login.ts
│ ├── logout.ts
│ ├── init.ts
│ ├── sync.ts
│ └── fix.ts
├── modules/ # Core business logic
│ ├── auth.ts
│ ├── config.ts
│ ├── api.ts
│ ├── git.ts
│ ├── websocket.ts
│ └── permissions.ts
├── ui/ # Terminal UI components (Ink/React)
│ └── LiveSession.tsx
├── types/ # TypeScript type definitions
│ └── index.ts
├── utils/ # Utility functions
│ ├── errors.ts
│ ├── detect.ts
│ └── upload.ts
└── index.ts # CLI entry point
- Use TypeScript for all new code
- Follow the existing code style (enforced by ESLint)
- Format code with Prettier:
npm run format - Run linter:
npm run lint
npm test- Create a new branch:
git checkout -b feature/my-feature- Make your changes and commit:
git add .
git commit -m "feat: add new feature"- Push and create a pull request:
git push origin feature/my-featureWe follow conventional commits:
feat:New featuresfix:Bug fixesdocs:Documentation changesrefactor:Code refactoringtest:Test additions or changeschore:Maintenance tasks
Open an issue or reach out to the team at dev@codevf.com