Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow --save-config to use a template string. #1532

Open
RhetTbull opened this issue Apr 23, 2024 · 0 comments
Open

Allow --save-config to use a template string. #1532

RhetTbull opened this issue Apr 23, 2024 · 0 comments
Labels
cli Pertains to the command line interface feature request New feature or request

Comments

@RhetTbull
Copy link
Owner

Got it. Thank you so much!

Also, can I use variables in --report ?
For example, can I use below:
--report /Users/kar/Pictures/OSXPhotosBackup/{today.date}__{today.hour}h.{today.min}m.{today.sec}s__report.csv \

The reason I want to do this is: For every run I want to know the command I to run that particualt set. Basically everytime I run, I want to dump the command I use into some file for reference. Please let me know if there is a better way.

As of now I have below:

--report       /Users/kar/Pictures/OSXPhotosBackup/{today.date}__{today.hour}h.{today.min}m.{today.sec}s__report.csv 
--save-config  /Users/kar/Pictures/OSXPhotosBackup/{today.date}__{today.hour}h.{today.min}m.{today.sec}s__report.toml 

And I am getting below two files.

2024-04-22__20h.11m.03s__report.csv
{today.date}__{today.hour}h.{today.min}m.{today.sec}s__report.toml

So, my command for --report is working but --save-config is not working.

Originally posted by @PDHell in #1531 (reply in thread)

@RhetTbull RhetTbull added feature request New feature or request cli Pertains to the command line interface labels Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Pertains to the command line interface feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant