Manage.py ds new create a datasource in one line

I know I can create a data source step by step using a manage.py ds new demoname commad ,but is it possible to create a
datasource in one single. command with password and so on

Not with manage.py but this would be pretty straightforward to write for yourself in Python.