flowdel
v3.0.0
Published
An intelligent CLI tool with multi-AI provider support
Maintainers
Readme
flowdel AI CLI
An intelligent command-line interface tool with AI capabilities called flowdel.
Features
- AI-powered code analysis and generation
- Intelligent explanations of programming concepts
- AI-assisted project creation
- Personalized greetings with different AI personalities
- Interactive AI assistance for developers
Installation
To install globally:
npm install -g flowdelSetup AI Features
To use AI features, you need an OpenAI API key:
- Get an API key from OpenAI
- Create a
.envfile in your home directory or project directory:
OPENAI_API_KEY=your_api_key_hereUsage
flowdel --helpAvailable Commands
flowdel helloorflowdel hi- Say hello from flowdel AIflowdel infoorflowdel about- Display information about flowdelflowdel greet <name>- Greet a person with AI personalizationflowdel create <project-name>- Create a new project with AI assistanceflowdel explain <concept>- Get AI explanations of programming conceptsflowdel analyze <file-path>- Analyze code with AI for improvementsflowdel generate <requirement>- Generate code based on requirements
Examples
# Basic commands
flowdel hello
flowdel info
# AI-enhanced greeting with personality options
flowdel greet John --personality friendly
flowdel greet John --personality professional
flowdel greet John --personality funny
# Create projects with AI assistance
flowdel create my-app --ai --description "A web application"
flowdel create my-react-app --ai --description "A React application" --template react
# Get explanations for programming concepts
flowdel explain "react hooks" --level simple
flowdel explain "monorepo architecture" --level advanced
# Analyze code for improvements
flowdel analyze src/index.js --language javascript
# Generate code from requirements
flowdel generate "a function to sum two numbers" --language javascript --output sum.js
flowdel gen "a React component that displays a greeting" --language javascript
# Start AI chat session
flowdel chatDevelopment
To run the CLI locally during development:
node bin/flowdel.js [command]To install globally in development mode:
npm install -g .Contributing
We welcome contributions to make flowdel even more intelligent! Feel free to submit issues and pull requests.
License
MIT
