sfdx force:org:status

Report sandbox org creation status and authenticate to org


--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-u, --targetusername <targetusername>Username or alias for the target org; overrides default target org
--apiversion <apiversion>Override the api version used for api requests made by this command
-n, --sandboxname <sandboxname>Name of the sandbox org to check status for
-s, --setdefaultusernameSet the created org as the default username
-a, --setalias <setalias>Alias for the created org
-w, --wait <wait>Number of minutes to wait while polling for status