{"id":27019060,"url":"https://github.com/jabbalaci/nimclihelper","last_synced_at":"2026-02-13T11:55:34.690Z","repository":{"id":140437696,"uuid":"152857868","full_name":"jabbalaci/NimCliHelper","owner":"jabbalaci","description":"make Nim development easier in the command-line","archived":false,"fork":false,"pushed_at":"2025-03-03T10:14:40.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T11:27:04.093Z","etag":null,"topics":["bash","cli","command-line","compile","init","linux","nim","windows"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jabbalaci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-13T09:49:44.000Z","updated_at":"2025-03-03T10:14:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"1b195311-7cd2-4710-a9fc-947a8031cd35","html_url":"https://github.com/jabbalaci/NimCliHelper","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabbalaci%2FNimCliHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabbalaci%2FNimCliHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabbalaci%2FNimCliHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabbalaci%2FNimCliHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jabbalaci","download_url":"https://codeload.github.com/jabbalaci/NimCliHelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217217,"owners_count":20903009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cli","command-line","compile","init","linux","nim","windows"],"created_at":"2025-04-04T17:18:53.197Z","updated_at":"2026-02-13T11:55:29.647Z","avatar_url":"https://github.com/jabbalaci.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"RodCli: a Nim CLI Helper\n========================\n\nGoal: make Nim development easier in the command-line\n\nHelp\n----\n\n```\n$ rodcli\nRodCli, a Nim CLI Helper v0.1.6\n===============================\n option               what it does                                notes\n--------    ----------------------------------    ----------------------------------------\ninit        bundles the indented 2 steps below    initialize a project folder\n  basic     create basic.nim                      create a basic skeleton source file\n  nimble    simplified nimble init                create a simple basic.nimble file\nad          edit .nimble                          add dependency\nid          nimble install -d                     install dependencies (and nothing else)\n                                                  (like `pip install -r requirements.txt`)\nc           nim c                                 compile (debug) [alias: compile]\ncr          nim c -r                              compile and run\ns                                                 compile, run, then delete the exe, i.e.\n                                                  run it as if it were a script [alias: script]\nrel         nim c -d:release                      compile [alias: release]\nsm1         nim c -d:release --opt:size           small EXE [alias: small1]\nsm2         sm1 + strip                           smaller EXE [alias: small2]\nsm3         sm2 + upx                             smallest EXE [alias: small3]\nver         nim --version                         version info [aliases: v, version]\nh           help                                  more detailed help [alias: -h]\n```\n\nUsage\n-----\n\nCreate a new project folder and initialize it:\n\n```\n$ rodcli init\n```\n\nIt creates two files:\n* a simple skeleton for your source code called `basic.nim`\n* a simplified `basic.nimble`\n\nCompile and run:\n\n```\n$ rodcli cr basic.nim\n```\n\nInstallation\n------------\n\n```bash\n$ nimble install rodcli\n```\n\nTo install the latest development version, issue the following command:\n\n```bash\n$ nimble install \"https://github.com/jabbalaci/NimCliHelper@#head\"\n```\n\nWith `nimble uninstall rodcli` you can remove the package.\n\nSupported platforms\n-------------------\n\nRodCli was tested under Linux and Windows. It might also run on Mac OS;\nI couldn't try it.\n\nWindows support\n---------------\n\nWindows is a first-class citizen, thus RodCli works under Windows too.\n\nFor editing a file, Notepad++ is used. If you need this feature, then add the\nfolder of Notepad++ to the PATH.\n\nFor shrinking the size of the EXE, `strip` and `upx` are used.\n* If you install Nim from the official home page and run `finish.exe`\n(see the [docs](https://nim-lang.org/install_windows.html)), then you'll\nbe asked if you want to install MingW, a C compiler. Say yes. On my\nsystem `strip.exe` was installed here: `C:\\nim\\dist\\mingw64\\bin\\strip.exe`.\nI had to add the folder `C:\\nim\\dist\\mingw64\\bin` to my PATH.\n* You can download UPX from [here](https://github.com/upx/upx/releases). Put `upx.exe`\nsomewhere in your PATH.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabbalaci%2Fnimclihelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabbalaci%2Fnimclihelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabbalaci%2Fnimclihelper/lists"}