expander

expand codes for competitive programing

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.1.1
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-25 13:09

Authors

  • soraie

Installation

nimble install expander
choosenim install expander
git clone https://github.com/soraiemame/expander

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
expander - - - - - - -

Dependencies

Package Version Optional
nim >= 1.4.6 No
cligen >= 1.5.3 No

Source

Repository https://github.com/soraiemame/expander
Homepage https://github.com/soraiemame/expander
Registry Source nimble_official

README

expander

You can expand the import,include statements in your files. This is a Nim version of oj-bundle.

This is my first time to make a Nim project. So maybe there are some bugs. Also, I'm not so good at English. Please tell me if my grammars are wrong.

Development

nim -v

Nim Compiler Version 1.4.6 [Linux: amd64]
Compiled at 2021-04-15
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: 2b6b08032348939e5d355a6cb4faa0169306c17f
active boot switches: -d:release

nimble -v

nimble v0.8.8 compiled at 2018-02-05 22:32:55
git hash: /bin/sh: 1: git: not found

Usage

expand [optional-params] [args: string...]

Options

option name type default description
-h, --help - - print this cligen-erated help
--help-syntax - - advanced: prepend,plurals,..
--version bool false print version
-c, --comment bool false print start end comment of the file
-q, --quiet bool false doesn't print any messages on stdout
-n, --noerror bool false doesn't print any messages on stderr(no guides)
-o, --overwrite bool false overwrites the file with the bundled code

Set the path to the file where you want to expand the code in args.

License

MIT

References