Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.02 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.02 KB

phio: the pockethost.io CLI

Auth

bunx phio login
bunx phio whoami

List instances

bunx phio list

Watch and push local changes instantly

bunx phio dev [instance]

Deploy to remote

bunx phio deploy [instance]

Tail logs

bunx phio logs [instance]

Configuration

Use pockethost in your package.json to save your instance name so you don't need to keep typing it:

// package.json
{
  "pockethost": {
    "instanceName": "all-your-base"
  }
}

-or-

Use pockethost.json to save your instance name so you don't need to keep typing it.

{
  "instanceName": "all-your-base"
}

Environment Variables

The following environment variables can be used to override any saved configuration:

  • PHIO_USERNAME - Override saved username
  • PHIO_PASSWORD - Override saved password
  • PHIO_INSTANCE_NAME - Override saved instance name

Environment variables take precedence over configuration in package.json or pockethost.json.