Init script upload issue as file format in workspace using databricks cli

Ashlaiyna
New Contributor

Trying to import init script from local to workspace location using databricks cli via YAML pipeline but it is getting uploaded as notebook.

Need to upload it as file format using cli command as workspace init script should be in file format.

Does anyone have any suggestion on this.