Overview
Generate commands provide functionality for:- Generating random data (numbers, strings, dates)
- Creating test data sets
- Generating synthetic content
- Creating mock data for testing
- Populating databases with sample data
Common Use Cases
- Test Data Creation: Generate test data for testing workflows
- Development: Create sample data for development environments
- Data Population: Populate systems with initial data
- Mock Data: Generate mock data for API testing
- Synthetic Content: Create synthetic content for testing
Command Parameters
Generate commands typically support the following parameters:| Parameter | Type | Description | Required |
|---|---|---|---|
| type | string | Data type to generate (string, number, date, etc.) | Yes |
| format | string | Format specification for generated data | No |
| count | number | Number of items to generate | No (defaults to 1) |
| min | number | Minimum value (for numeric types) | No |
| max | number | Maximum value (for numeric types) | No |
Generation Types
String Generation
Generate random strings:Number Generation
Generate random numbers:Date Generation
Generate dates:Best Practices
- Use Realistic Data: Generate data that matches real-world patterns
- Set Appropriate Ranges: Configure min/max values appropriately
- Format Consistently: Use consistent formats for generated data
- Test Generation: Verify generated data meets requirements
- Document Patterns: Document generation patterns for reproducibility
Related Commands
- Validation Commands - Validate generated data
- Parse Commands - Parse generated data
- Sink Commands - Send generated data to destinations