Suppress terraform init -force-copy doesn't work in a bash script

I need to suppress Do you want to migrate all workspaces to “local”?
so I can run it in a script
First command is terraform workstapce new example_1
Second command terraform init -force-copy -backend-config=path=
getting Do you want to migrate all workspaces to “local”?
how do I get by this so this can be run in a script

Terraform v0.12.24

  • provider.aws v2.58.0