DEV Community

Artem Tanyhin
Artem Tanyhin

Posted on

Some new features for Izyum

Hi! Thanks for checking in. This week I worked on adding a new feature to another Static Site Generator Izyum. It is written in TypeScript and CLI apps in TypeScript is something new for me, so let me tell you how it went.

The feature

The feature I've been working on is support for config files.

What this means is instead of having to write izyum --input ../../textFiles/tests --output ./html/generatedHTML --language uk-UA, you can gather all of these command options and store them in a JSON format. After that, you can call izyum --config config.json.

JSON parsing works as follows: for each key / value it will perform a command / argument, so "input": "tests" will be parsed as --input tests in command line.

How it went

Interestingly enough, all went as smooth as it could be!

Installation was easy enough, all thanks to Myrfion's documentation.

The code was easy to read and understandable, so I filed an issue, forked the repo, created a new git branch, and started working.

Implementing the feature wasn't hard, and soon enough I opened a pull request, which is now merged and my feature is officially a part of Izyum!

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay