hankinsoft / MudClient

MudClient
3 stars 0 forks source link

[Feature] Export/Import Triggers/Aliases configs #19

Open dak opened 1 year ago

hankinsoft commented 1 year ago

For export, what would you expect the behavour to be? Triggers/aliases are stored as json files in ~/Library/Mobile Documents/iCloud~com~hankinsoft~app~mudclient/Documents/connections/<mud name>.mud in an alias/triggers folder.

Would the behavior of export be just copy these to a new location?

dak commented 1 year ago

I think the primary use case would be exporting configs to share with others also using the app (or as personal backups), so the format would really be up to MudClient itself. It would seem perfectly reasonable to me to just use the existing JSON format and copy it to a new location though.

Import would take the same file and bring it in, probably resolving any naming conflicts by just appending a number to the end like it appears to currently do.