all repos — nifty @ a65b2760226c6e49d2ee427973d3d3561dc268bb

A tiny (pseudo) package manager and script runner.

src/niftypkg/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
 43
 44
 45
 46
 47
{
  "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>."
  },
  "purge":
  {
    "_syntax": "purge",
    "_description": "Deletes the storage directory and all its contents."
  },
  "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)."
  }
}