_____ _ _ ____ _
|__ /___| |_| |_ __ _ / ___|___ __| | ___
/ // _ \ __| __/ _` | | | / _ \ / _` |/ _ \
/ /| __/ |_| || (_| | | |__| (_) | (_| | __/
/____\___|\__|\__\__,_| \____\___/ \__,_|\___|
This repository has two sections:
zettacode
app source code- Repository of processed files usign
zettacode
. Every time, I use it, I will save outputs intofiles.zettacode
folder.
zettacode
is an application that helps us perform various tasks with files from the rosettacode.org website.
Features:
- Free license
- Multiplatform
- Command Application
- Install Ruby on your host.
ruby -v
, check current Ruby version. Version >= 2.7.0 required.gem install zettacode
, to install "zettacode" gem.zettacode -v
, show current version.
Parse local XML files:
- Goto RosettaCode export page.
- Add 1 page manually and export.
zettacode --parse PATH/TO/XML/FILE
, execute Zettacode to parse XML file into code files.- The files are created in the
files.zettacode
folder.
Command | Description |
---|---|
zettacode --help |
show command help. |
zcode |
Is an alias of zettacode command |
zettacode --parse FILE |
Parse local XML file |
zettacode --scrap
, Remote web page will be scrapped directly on future versions
Bug reports and pull requests are welcome on GitHub at https://github.com/dvarrui/zettacode.