Basic Commands.md - himent12/FlashGenie GitHub Wiki
This guide covers the essential FlashGenie CLI commands to get you started. Master these commands to build a solid foundation for your learning journey.
FlashGenie commands follow this general structure:
python -m flashgenie <command> [arguments] [options]
Command | Description | Example |
---|---|---|
create |
Create a new deck | python -m flashgenie create "Math Facts" "Basic math flashcards" |
list |
List all decks | python -m flashgenie list |
load |
Load a specific deck | python -m flashgenie load "Spanish Vocabulary" |
delete |
Delete a deck | python -m flashgenie delete "Old Deck" |
Command | Description | Example |
---|---|---|
add |
Add cards interactively | python -m flashgenie add "Spanish Vocabulary" |
import |
Import flashcards | python -m flashgenie import cards.csv --name "New Deck" |
export |
Export deck data | python -m flashgenie export "Spanish" output.json |
edit |
Edit flashcards | python -m flashgenie edit "Spanish" --card-id 5 |
Command | Description | Example |
---|---|---|
quiz |
Start a quiz session | python -m flashgenie quiz "Spanish Vocabulary" |
plan |
Create study plan | python -m flashgenie plan "Math" --time 30 --energy 4 |
stats |
View statistics | python -m flashgenie stats "Spanish Vocabulary" |
collections |
View smart collections | python -m flashgenie collections |
Command | Description | Example |
---|---|---|
autotag |
Auto-tag cards | python -m flashgenie autotag "Spanish Vocabulary" |
suggest |
Get AI recommendations | python -m flashgenie suggest "Math" --cards 5 |
velocity |
Analyze learning velocity | python -m flashgenie velocity "Spanish" --predict |
graph |
Generate knowledge graph | python -m flashgenie graph "Biology" --export graph.html |
These options work with multiple commands:
Option | Description | Example |
---|---|---|
--help |
Show help for a command | python -m flashgenie quiz --help |
--verbose |
Show detailed output | python -m flashgenie import cards.csv --verbose |
--format |
Specify output format | python -m flashgenie export "Deck" --format json |
--tags |
Filter by tags | python -m flashgenie quiz --tags "important,review" |
Start an interactive session for multiple commands:
# Start interactive mode
python -m flashgenie
In interactive mode:
FlashGenie > load "Spanish Vocabulary"
FlashGenie > quiz --mode spaced
FlashGenie > stats
FlashGenie > exit
FlashGenie offers several quiz modes:
Mode | Description | Example |
---|---|---|
standard |
Regular quiz (default) | python -m flashgenie quiz --mode standard |
spaced |
Spaced repetition | python -m flashgenie quiz --mode spaced |
difficult |
Focus on difficult cards | python -m flashgenie quiz --mode difficult |
random |
Random card selection | python -m flashgenie quiz --mode random |
new |
Focus on new cards | python -m flashgenie quiz --mode new |
adaptive |
AI-powered adaptive mode | python -m flashgenie quiz --mode adaptive |
Get help on any command:
# General help
python -m flashgenie --help
# Command-specific help
python -m flashgenie quiz --help
# List available decks
python -m flashgenie list
# Load a deck
python -m flashgenie load "Spanish Vocabulary"
# Start a quiz
python -m flashgenie quiz
# View your progress
python -m flashgenie stats
# Import flashcards
python -m flashgenie import my_cards.csv --name "New Deck"
# Auto-tag cards
python -m flashgenie autotag "New Deck"
# View collections
python -m flashgenie collections
# Study a specific collection
python -m flashgenie quiz --collection "Struggling Cards"
Now that you understand the basic commands, you're ready to:
- Create Your First Deck - Build your own flashcard collection
- Explore Smart Features - Discover AI-powered learning tools
- Advanced Usage - Learn power-user techniques
FlashGenie v1.5.0 | Last updated: June 2025