all repos — nifty @ 1a20ae60f3231163f35799c796f8eb4f4cbd4056

A tiny (pseudo) package manager and script runner.

lib/help.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
{
  "help":
  {
    "_syntax": "help [<command>]",
    "_description": "Display help on the specified command (or all commands)."
  },
  "info":
  {
    "_syntax": "info <package>",
    "_description": "Displays information on <package>"
  },
  "init":
  {
    "_syntax": "init [<storage-dir>]",
    "_description": "Initializes a project in the current directory (using <storage-dir> as storage directory)."
  },
  "list":
  {
    "_syntax": "list",
    "_description": "Lists all dependencies (recursively) of the current project."
  },
  "map":
  {
    "_syntax": "map <package>",
    "_description": "Configures a new or existing package <package>."
  },
  "remove":
  {
    "_syntax": "remove [<package>]",
    "_description": "Physically deletes the specified package (or all packages) from the storage directory."
  },
  "unmap":
  {
    "_syntax": "unmap <package>",
    "_description": "Unmaps the previously-mapped package <package>."
  },
  "update":
  {
    "_syntax": "update",
    "_description": "Updates the command definitions for the current project and migrate nifty.json file (if necessary)."
  }
}