CLI
Populate the example module with todo records and sample custom fields. Confirm you are using the development environment where you want that test data.
yarn mercato example seed-todos populates example Todos for a tenant/organization pair and ensures the module’s custom entity definitions are installed.
yarn mercato example seed-todos --org <organizationId> --tenant <tenantId>
Aliases:
--organizationId for --org--tenantId for --tenantinstallCustomEntitiesFromModules).priority, severity, blocked, labels) using the shared Data Engine.Seeded 10 todos with custom fields for org=<id>, tenant=<id>.ORG_ID=$(yarn mercato auth list-orgs | awk 'NR==5 {print $1}')
TENANT_ID=$(yarn mercato auth list-tenants | awk 'NR==5 {print $1}')
yarn mercato example seed-todos --org "$ORG_ID" --tenant "$TENANT_ID"
--org or --tenant is omitted.Previous: Module CLI commands · Next: mercato feature_toggles override-set-value