sfdx force:source:status

List local changes and/or changes in a scratch org

Options

NameDescription
--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
-a, --allList all the changes that have been made
-l, --localList the changes that have been made locally
-r, --remoteList the changes that have been made in the scratch org