Filecannon

Latest version: v0.1.1

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.1

Cleanup and default to Claude Sonnet 3.5 1022.

0.1.0

`filecannon` is an AI-powered CLI tool that generates files based on examples and natural language descriptions. Perfect for developers who want to maintain consistency while creating new configuration files, documentation, or content.

Features

- 🚀 Generate new files using natural language prompts
- 📝 Learn from example files to match your existing patterns
- 🎯 Smart path handling and directory creation
- 🤖 Anthropic Claude and OpenAI support

Installation

bash
pip install filecannon


Basic Usage

bash
filecannon "create a new consulting service yaml for AI training" \
--example src/content/consulting/ai/existing-service.yaml \
--output src/content/consulting


Requirements

- Python 3.8+
- OpenAI API key (set as OPENAI_API_KEY environment variable)

Notes

- This is an initial release focused on core functionality
- Requires example files for best results

Known Limitations

- Single file generation per invocation

We're excited to see how developers use filecannon to streamline their file generation workflows! Feedback and contributions welcome.

---

*Part of the 255labs.xyz toolkit for AI-first development.*

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.