fork-dev / TrackerWin

Bug and issue tracker for Fork for Windows
450 stars 10 forks source link

[Feature Request] Variables in the custom command UI control #2158

Open mantesso-giuliano-breton opened 4 months ago

mantesso-giuliano-breton commented 4 months ago

In the custom command UI control it would be useful to be able to use variables like ${repo:path} and ${repo:name} in the default directory and in file name.

Example:

image

DanPristupov commented 4 months ago

It's complicated. What should be ${repo:name}? The folder name on disk or the repository entry name in Fork (which can be renamed).

mantesso-giuliano-breton commented 4 months ago

The same ${repo:name} variable available for the custom command, the ${repo:name} variable is currently available for every custom command, the other variables should be available according to the parent custom command, if possible.

image

DanPristupov commented 4 months ago

So, it should be the repository folder name, right?

mantesso-giuliano-breton commented 4 months ago

Yes