ninxsoft / mist-cli

A Mac command-line tool that automatically downloads macOS Firmwares / Installers.
MIT License
620 stars 29 forks source link

Improve export feature to allow for variables in path. #79

Closed n8felton closed 2 years ago

n8felton commented 2 years ago

I'm not sure of the best approach here, but what I'm looking for is --export to work with variables.

Some options I've thought of:

  1. --output-directory '/Users/Shared/Mist/%VERSION%/%BUILD% + --export metatdata.json = /Users/Shared/Mist/%VERSION%/%BUILD%/metadata.json
  2. Allowing --export to use the variables - --export /Users/Shared/Mist/%VERSION%/%BUILD%/metadata.json

Also, side note, thank you for being awesome with all my feature requests and bug reports. I really need to learn some Swift so that I can start contributing directly to Swift projects like this, and it's been helpful to see your solutions associated with the issues I open.

ninxsoft commented 2 years ago

I like option 2, and it should be relatively easy to implement 👍

And thank you for the kind words! Swift is an amazing language, and I welcome the contributions you have been making!