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

Command to help manage/update story-formats. #335

Open
bryanrieger opened this issue Jun 16, 2022 · 1 comment
Open

Command to help manage/update story-formats. #335

bryanrieger opened this issue Jun 16, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bryanrieger
Copy link

Instead of editing the formats by hand using the '{$npm}/lib/node_modules/extwee/story-formats' directory it would be helpful to be able to list, add, remove, and update the various story formats via the extwee command. Tweego has the ability to list the story-formats currently available in its configured story-format directory which is very helpful as the directory is usually easy to access (as the user has had to specify it) and can be configured via the TWEEGO_PATH environment variable.

Another option would be to provide users with a command that would open a Finder (or Windows and Linux equivalent) window containing the story-formats directory which would enable users to easily manage the various story-formats on their own.

@videlais videlais added the enhancement New feature or request label Jun 17, 2022
@videlais videlais self-assigned this Jun 17, 2022
@videlais
Copy link
Owner

@bryanrieger I can see where there might be some confusion here based on a lack of documentation. Generally, I don't recommend you use the story formats packaged with Extwee 2.X. In an earlier version, Extwee 1.5, I started to package story formats with the code, but I expect it to change in a future version because of license incompatibility issues between the one I use for Extwee and those used by other story formats.

I currently have planned to support a configuration file, extwee.config.js, to work very similar to how WebPack handles its own processing, which would allow people to more easily bundle other files and media during the HTML compilation process as well. I do not have a set time when that feature will go into Extwee, but probably after I finish my current work on Snowman 2.2.

In the meantime, I recommend you grab the story format(s) you want from the Twine repo (https://github.com/klembot/twinejs/tree/develop/public/story-formats), which will always have the latest story formats used with Twine. Instead of pulling from the Extwee code, you could more easily use format.js instead of the longer path name each time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants