A modern command-line interface for Flatfile, built with Deno, TypeScript, and Ink.
- 🚀 Built with Deno 2.0 for optimal performance and security
- 💅 Beautiful terminal UI powered by Ink and React
- 📦 Type-safe implementation using TypeScript
- 🎨 Modern CLI framework using Pastel
- Deno version 2.x or higher
# Clone the repository
git clone https://github.com/flatfilers/flatfile-cli.git
# Navigate to the project directory
cd flatfile-cli
# Run the development version
deno task dev
# Run tests
deno task test
src/
├── commands/ # CLI command implementations
├── components/ # Ink UI components
├── utils/ # Helper functions
├── types/ # TypeScript type definitions
└── flatfile.tsx # Main entry point
The CLI supports various commands to interact with Flatfile. Use --help
with any command to see its options.
flatfile --help
The project uses deno.json
for configuration:
- TypeScript and JSX configuration
- Task definitions
- Import maps for dependencies
- React 18
- Ink 5
- Commander 11
- Pastel (CLI Framework)
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue in the GitHub repository or contact the Flatfile team.