T1 Electrical SolutionsT1 Platform Docs
Operations

Command Reference

Symfony console command catalog generated from src/Command.

CommandClassDescription
app:backfill-employee-idsBackfillEmployeeIdsCommand.phpAssign generated employee IDs to existing users that do not have one.
app:data:cleanupCleanupSandboxDataCommand.phpRemove tenant and transactional data while preserving a specific user account.
app:debug-xeroDebugXeroCommand.phpCheck Xero users, accounts, and tax types for expense submission
app:fix-auth0-idFixAuth0IdCommand.phpFix user auth0Id to match Auth0 user ID from token
app:inspect-auth0-tokenInspectAuth0TokenCommand.phpInspect Auth0 Management API token and its scopes
app:migrate-expense-categoriesMigrateExpenseCategoriesCommand.phpMigrate existing expense string categories to relational category structure
app:timesheets:normalize-week-endingNormalizeTimesheetWeekEndingCommand.phpNormalize timesheet week_ending values to date-only midnight semantics.
app:allowances:recalculate-timesheetsRecalculateTimesheetAllowancesCommand.phpRecalculate allowance matrix lines for accepted and approved timesheets.
app:award:recalculate-timesheetsRecalculateTimesheetAwardCalculationsCommand.phpBuild additive award calculation snapshots for accepted and approved timesheets.
app:timesheets:recalculate-hoursRecalculateTimesheetHoursCommand.phpRecalculate timesheet total_hours from non-rejected time entries.
app:timesheets:recalculate-riskRecalculateTimesheetRiskCommand.phpRecalculate discrepancy risk assessments for timesheets.
app:timesheets:report-duplicatesReportDuplicateTimesheetsCommand.phpReport duplicate timesheets that collapse to the same user/project/week ending date.
app:seed:master-configurationSeedMasterConfigurationCommand.phpSeed default master configuration CRUD rows.
app:seed:showcase-timesheetSeedShowcaseTimesheetCommand.phpSeed a complete payroll showcase dataset for a specific timesheet.
app:submit-to-xeroSubmitExpensesTimesheetsToXeroCommand.phpSubmit pending expenses and timesheets to Xero for processing
app:sync-users-to-auth0SyncUsersToAuth0Command.phpSync existing local users to Auth0 (creates Auth0 accounts for authentication)
app:sync-users-to-xeroSyncUsersToXeroCommand.phpSync portal users with Xero employees by matching email addresses
app:test-auth0-managementTestAuth0ManagementCommand.phpTest Auth0 Management API connection and permissions
app:test-expense-submissionTestExpenseSubmissionCommand.phpTest submitting a specific expense to Xero to see detailed error
app:test-invitation-emailTestInvitationEmailCommand.phpTest sending an invitation email to MailHog
app:test-me-endpointTestMeEndpointCommand.phpTest the /api/me endpoint logic for a specific user
app:test-raw-queryTestRawQueryCommand.phpTest raw SQL queries to debug the issue
app:test-supervisorTestSupervisorCommand.phpTest supervisor project relationships
app:test-xero-connectionTestXeroConnectionCommand.phpTest connection to Xero API and display organization details