Skip to main content

Lua API Overview

ptool exposes a broad set of helpers through ptool and p.

Core entrypoints

  • ptool.use
  • ptool.run
  • ptool.run_capture
  • ptool.ask
  • ptool.config
  • ptool.cd

Modules

  • ptool.semver
  • ptool.hash
  • ptool.ansi
  • ptool.http
  • ptool.db
  • ptool.ssh
  • ptool.platform
  • ptool.path
  • ptool.toml
  • ptool.re
  • ptool.str
  • ptool.fs
  • ptool.sh
  • ptool.template
  • ptool.args

Reference

The current site keeps the API reference in one page while the content is being restructured into smaller module pages.