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

Add support to set created mpak file name from CLI #460

Merged

Conversation

doingnz
Copy link
Contributor

@doingnz doingnz commented Feb 10, 2024

There is an existing -n option which sets the property MpakPath. This value needs to be passed into the method creating the mpak. Default value to null which will can be checked to then automatically assign a file name using DateTime.

There is an existsing -n opti0on that sets the property MpakPath. This value needs to be passed into the method creating the mpak. Default value to null which will t hen automatically assign file name using DateTime.
@doingnz
Copy link
Contributor Author

doingnz commented Feb 10, 2024

I added a comment regarding code that would force the generated file to have a ".mpak" extension. Not sure if you want to force the extension, or let the user set the extension when they specify a custom mpak file. Users will quickly realise they need to add .mpak to the name when they first run the create command and use -n and don't specify the extension.

i.e. mpakName = Path.ChangeExtension(mpakName, ".mpak"); will set the extension to '.mpak'

@ctacke ctacke merged commit 227fbdf into WildernessLabs:develop Feb 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants