clockworklabs / SpacetimeDB

Multiplayer at the speed of light
https://spacetimedb.com
Other
4.38k stars 110 forks source link

[PROPOSAL] Final design and standardization for the CLI commands and args #1395

Open cloutiertyler opened 4 months ago

cloutiertyler commented 4 months ago

Currently there are many ways to pass arguments or environment variables in to spacetimedb CLI which differ in standalone and cloud.

e.g.

STDB_MY_VAR=foo spacetime
SPACETIME_MY_VAR=foo spacetime
SPACETIMEDB_MY_VAR=foo spacetime
spacetime --my-var foo

Also many commands need to be reviewed and potentially redesigned

cloutiertyler commented 3 months ago

This proposal should also specify how config files override each other and how cli args override config files.