CLI

glyria start

Démarrez votre bot en mode production.

Utilisation

npm run start
# ou
npx glyria start

Ce que ça fait

glyria start lance votre bot compilé en mode production. Il exécute dist/index.js avec le runtime glyria.js injecté automatiquement.

glyria start nécessite un build compilé. Si dist/index.js est introuvable, il se termine avec une erreur.Exécutez toujours glyria build avant glyria start.

Workflow de production

# 1. compiler
npm run build

# 2. démarrer
npm run start

Différence avec le mode dev

glyria devglyria start
Sourcesrc/ (TypeScript)dist/ (JavaScript)
Hot reload
Build requis
Cas d'usageDéveloppementProduction
Copyright © 2026