hildjj / node-websequencediagrams

Call the WebSequenceDiagram.com API.
31 stars 18 forks source link

Supports processing all wsd files in the current directory. #8

Closed brianbegy closed 5 years ago

brianbegy commented 5 years ago

Add -a argument for processing all wsd files in a given directory.

This also changes the default image file name to be [file name].png|pdf|svg instead of wsd.png|pdf|svg

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 95.652% when pulling cbdfe0ea6424c7d7e3c43b4b3a95e9680d87b9bd on brianbegy:master into f602d628d8de683563211869c8ac55fa5e36fba7 on hildjj:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 95.652% when pulling cbdfe0ea6424c7d7e3c43b4b3a95e9680d87b9bd on brianbegy:master into f602d628d8de683563211869c8ac55fa5e36fba7 on hildjj:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 95.652% when pulling 76961934ef9b623c757dcb174524c10c40e0bbfd on brianbegy:master into 25b6ebf34f93bb61c7b18d9c3e8e350aae4e1d1c on hildjj:master.

hildjj commented 5 years ago

I'm going to hack a bit before I do a release. Also, since this breaks the default output file, it's going to be a major version number change.

hildjj commented 5 years ago

I just did a 1.0.0 build. I changed up your command line to not require -a, but instead you pass in a directory name. So for your use case wsd_get . will do what you want.

brianbegy commented 5 years ago

Nice. Thanks!