schema subcommand to manage custom object schemas and the create subcommand to create a new custom object.
Fetch schema for a single custom object
To fetch the schema for an existing custom object, run the following command:Fetch schema for all custom objects
Fetch the schemas for all custom objects in an account.Update the schema for a custom object
Update the schema for an existing custom object with the definition at the provided path.Delete the schema for a custom object
Delete the schema for an existing custom object. You will be prompted to confirm the deletion before proceeding. You can use the--force flag to bypass this confirmation.
Create a new custom object
Create a new custom object with the provided definition for its schema.
Flags