all repos — nifty @ 6c8ae664ad9f238c68aec9b07d1ff057268292d1

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
{
  "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> [--<property>_<value>]",
    "_description": "Defines <package> with the specified properties."
  },
  "remove":
  {
    "_syntax": "remove [<package>]",
    "_description": "Removes the specified package (or all packages) from the storage directory."
  },
  "unmap":
  {
    "_syntax": "unmap <package>",
    "_description": "Unmaps the previously-mapped package <package>."
  }
}