0.3.5 • Published 8 months ago
phio v0.3.5
phio: the pockethost.io CLI
Auth
bunx phio login
bunx phio logout
bunx phio whoamiList instances
bunx phio listWatch 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 usernamePHIO_PASSWORD- Override saved passwordPHIO_INSTANCE_NAME- Override saved instance name
Environment variables take precedence over configuration in package.json or pockethost.json.