all repos — nifty @ 587d550e7c480d35d2e3038c99a989fbfc9ebb46

A tiny (pseudo) package manager and script runner.

Minor fixes.
h3rald h3rald@h3rald.com
Sun, 29 Apr 2018 15:29:18 +0200
commit

587d550e7c480d35d2e3038c99a989fbfc9ebb46

parent

10ffb29bdb859d9355d45e68c79474ff2cf80c30

2 files changed, 11 insertions(+), 21 deletions(-)

jump to
M Nifty_UserGuide.mdNifty_UserGuide.md

@@ -4,7 +4,7 @@ % -

## Overview -{{n -> **nifty**}} is a simple, self-contained program that can be used as a bare-bones, decentralized (pseudo) package manager and script runner. +{{n -> *nifty*}} is a simple, self-contained program that can be used as a bare-bones, decentralized (pseudo) package manager and script runner. It was born out of the necessity of building {{nim -> [Nim](https://nim-lang.org)}} programs with several dependencies like [min](https://h3rald.com/min) or [hastysite](https://h3rald.com/hastysite) on machines with low memory (i.e. a VPS running x86 Linux with 500MB of RAM). The main problem was that on such low-end machine it [may not even be possible](https://github.com/nim-lang/nimble/issues/278) to compile the [Nimble](https://github.com/nim-lang/nimble) package manager, because apparently it requires more RAM to compile than Nim itself.
M README.mdREADME.md

@@ -37,23 +37,13 @@ *nifty* is a self-contained executable program written in {{nim -> [Nim](https://nim-lang.org)}} and runs on all platforms where Nim compiles. Also, unlike other package managers that are typically used within the context of one specific programming language (like [NPM](https://www.npmjs.com) for Javascript or [RubyGems](https://rubygems.org) for Ruby), *nifty* can be used in virtually any project, regardless of the programming language used.

## Usage -nifty help [lt;commandgt;] -: Display help on the specified command (or all commands). -nifty info lt;packagegt; -: Displays information on lt;packagegt; -nifty init [lt;storage-dirgt;] -: Initializes a project in the current directory (using lt;storage-dirgt; as storage directory). -nifty list -: Lists all dependencies (recursively) of the current project. -nifty map lt;packagegt; -: Configures a new or existing package lt;packagegt;. -nifty remove [lt;packagegt;] -: Removes the specified package (or all packages) from the storage directory. -nifty unmap lt;packagegt; -: Unmaps the previously-mapped package lt;packagegt;. -nifty update -: Updates the command definitions for the current project and migrate nifty.json file (if necessary). -nifty install [lt;packagegt;] -: Installs the specified package (or all mapped packages) to the storage directory. -nifty upgrade [lt;packagegt;] -: Upgrades the specified previously-installed package (or all packages). +* `nifty help [lt;commandgt;]` · Display help on the specified command (or all commands). +* `nifty info lt;packagegt;` · Displays information on lt;packagegt; +* `nifty init [lt;storage-dirgt;]` · Initializes a project in the current directory (using lt;storage-dirgt; as storage directory). +* `nifty list` · Lists all dependencies (recursively) of the current project. +* `nifty map lt;packagegt;` · Configures a new or existing package lt;packagegt;. +* `nifty remove [lt;packagegt;]` · Removes the specified package (or all packages) from the storage directory. +* `nifty unmap lt;packagegt;` · Unmaps the previously-mapped package lt;packagegt;. +* `nifty update` · Updates the command definitions for the current project and migrate nifty.json file (if necessary). +* `nifty install [lt;packagegt;]` · Installs the specified package (or all mapped packages) to the storage directory. +* `nifty upgrade [lt;packagegt;]` · Upgrades the specified previously-installed package (or all packages).