Config
π Description
Show current project configuration and details. The config command displays comprehensive information about your Gexd project including template type, creation details, version information, and project structure overview.
βοΈ Usage
gexd info configπ Detailed Usage
Show current project configuration
Usage: gexd info config
Displays information about the current Gexd project including:
- Project name and template type
- Creation and update dates
- Gexd version information
- Project location
- Template description and recommendations
Examples:
gexd info config # Show project configurationπ― Key Features
π Project Information
Project Name: Display the project's configured name
Template Type: Show which architecture template is used (GetX/Clean)
Project Location: Full path to the project directory
Organization: Project package organization details
π Version & Timing
Creation Version: Gexd version used to create the project
Current Version: Current Gexd version compatibility
Creation Date: When the project was initially generated
Last Updated: Most recent modification timestamp
π Template Context
Template Description: Detailed explanation of the chosen architecture
Best Use Cases: Recommended scenarios for the template
Key Features: Architecture-specific capabilities and benefits
Related Commands: Suggested next steps and related operations
π Output Structure
The command provides a beautifully formatted output with the following sections:
π Project Configuration
π Project Configuration
βββββββββββββββββββββββββ
ποΈ Template: clean
π Project: my_flutter_app
π Location: /Users/developer/projects/my_flutter_app
βοΈ Generated By: Gexd CLI
π¦ Creation Version: 1.0.0
π Current Version: 1.0.0
π Created: 2025-11-12
π
Last Updated: Neverπ Template Information
π Template Information
βββββββββββββββββββββββββ
Description: Clean Architecture with domain-driven design principles
Best For: Enterprise applications, complex business logic, scalable architecture
Features: Layered architecture, dependency inversion, testability
π‘ Run gexd info template clean --full to see the complete directory structure.π Real-World Usage Examples
π± Project Status Check
# Quick project overview for team standup
gexd info config
# Output provides instant context:
# - What template/architecture is used
# - When project was created
# - Current development statusπ Troubleshooting Project Issues
# When debugging, check project configuration
gexd info config
# Helps identify:
# - Version compatibility issues
# - Template-specific structure problems
# - Project initialization statusπ Onboarding New Developers
# New team member exploring project
gexd info config
# Provides instant understanding of:
# - Project architecture approach
# - Setup timeline and version
# - Template-specific conventionsπ§ Development Environment Setup
# After cloning a repository
cd cloned_gexd_project
gexd info config
# Verifies:
# - Correct Gexd project detection
# - Template compatibility
# - Development environment requirementsπ― Template-Specific Information
ποΈ GetX Template Projects
When run on a GetX template project:
ποΈ Template: getx
π Template Information
βββββββββββββββββββββββββ
Description: GetX modular architecture with feature-based organization
Best For: Rapid development, medium-sized apps, GetX enthusiasts
Features: Reactive state management, dependency injection, routingKey Insights:
Modular Organization: Feature-based directory structure
State Management: Built-in GetX reactive patterns
Rapid Development: Optimized for quick prototyping and iteration
ποΈ Clean Architecture Projects
When run on a Clean Architecture project:
ποΈ Template: clean
π Template Information
βββββββββββββββββββββββββ
Description: Clean Architecture with domain-driven design principles
Best For: Enterprise applications, complex business logic, scalable architecture
Features: Layered architecture, dependency inversion, testabilityKey Insights:
Layered Structure: Clear separation between domain, data, and presentation
Enterprise Ready: Designed for large, complex applications
High Testability: Architecture optimized for unit and integration testing
π‘ Best Practices
π― When to Use
Project Handoffs: When transferring project ownership
Team Onboarding: Introducing new developers to project structure
Architecture Review: Evaluating current project setup
Debugging: Understanding project configuration during troubleshooting
Documentation: Generating project overview for documentation
π§ Integration Tips
CI/CD Validation: Include in build scripts to verify project setup
Development Workflow: Regular check during development phases
Code Reviews: Reference during architectural discussions
Project Planning: Use insights for future architectural decisions
π Team Usage
Standup Reports: Quick project status for team updates
Architecture Discussions: Reference template capabilities and limitations
Code Standards: Align development practices with template conventions
Project Documentation: Generate consistent project overviews
π Configuration File Details
The command reads from .gexd/config.yaml which contains:
π Configuration Structure
# Generation Details
generated_by: Gexd CLI
creation_version: 1.0.0
current_version: 1.0.0
generated_date: 2025-11-12
last_updated: null
# Project Information
project_name: my_flutter_app
template: cleanπ§ Configuration Fields
generated_by: Tool used for project creationcreation_version: Gexd version at project creation timecurrent_version: Latest compatible Gexd versiongenerated_date: ISO timestamp of project creationlast_updated: Last significant update timestampproject_name: Configured project identifiertemplate: Architecture template key (getx|clean)
β Troubleshooting
Common Issues
β "Not inside a valid Gexd project"
# Problem: Command run outside Gexd project
cd /some/random/directory
gexd info config
# β
Solution: Navigate to Gexd project directory
cd your_gexd_project
gexd info configβ "Project configuration file not found"
# Problem: Missing .gexd/config.yaml file
gexd info config
# Error: Project configuration file not found.
# β
Solution: Verify project integrity or reinitialize
ls -la .gexd/ # Check if config.yaml exists
# If missing, may need to reinitialize projectβ "Error reading project configuration"
# Problem: Corrupted YAML file
gexd info config
# Error: Error reading project configuration: Invalid YAML
# β
Solution: Validate YAML syntax
cat .gexd/config.yaml # Check file contents
# Fix YAML syntax errors or restore from backupπ§ Advanced Troubleshooting
Version Mismatch Issues
If creation and current versions differ significantly:
# Check version compatibility
gexd info config
# Consider upgrading project if needed
gexd upgradeTemplate Validation
# Verify template structure matches configuration
gexd info config
gexd info template clean --full # Compare with expected structureπ Integration with Development Workflow
π Project Setup Checklist
# 1. Verify project configuration
gexd info config
# 2. Understand architecture
gexd info template clean --full
# 3. Begin development with proper context
gexd make screen Homeπ Regular Development Workflow
# Morning routine: Check project status
gexd info config
# Development: Generate components aligned with architecture
gexd make model User --file assets/user.json
gexd make screen UserProfile
# End of day: Verify project state
gexd info configπ Related Commands
π Complementary Commands
gexd info template- Explore template structuresgexd create- Create new projects with templatesgexd upgrade- Update project to latest Gexd version
π οΈ Development Commands
gexd make- Generate components following architecturegexd locale generate- Manage internationalization
Generated automatically by gexd_doc
Last updated