ptyrad.cli.templates#
CLI utility functions for setting up fresh project folder, and exporting templates / examples params files
Functions
|
Copies the internal 'demo' folder to a new directory named project_name. |
|
Copies only the 'starter/params/examples/' folder locally. |
|
Copies the entire 'starter/params/' folder (including templates/, examples/, walkthrough/) locally. |
|
Copies only the 'starter/params/templates/' folder locally. |
|
Copies only the 'starter/params/walkthrough/' folder locally. |
- ptyrad.cli.templates.create_starter_project(project_name='ptyrad', force=False)[source]#
Copies the internal ‘demo’ folder to a new directory named project_name.
- Parameters:
project_name (str)
force (bool)
- ptyrad.cli.templates.export_params(dest_dir='.', force=False)[source]#
Copies the entire ‘starter/params/’ folder (including templates/, examples/, walkthrough/) locally.
- Parameters:
dest_dir (str)
force (bool)
- ptyrad.cli.templates.export_templates(dest_dir='.', force=False)[source]#
Copies only the ‘starter/params/templates/’ folder locally.
- Parameters:
dest_dir (str)
force (bool)