https://github.com/pockethost/phio
https://github.com/pockethost/phio
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pockethost/phio
- Owner: pockethost
- Created: 2024-09-16T00:33:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-15T12:11:15.000Z (over 1 year ago)
- Last Synced: 2025-06-29T14:41:54.444Z (about 1 year ago)
- Language: TypeScript
- Size: 210 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# phio: the pockethost.io CLI
**Auth**
```bash
bunx phio login
bunx phio logout
bunx phio whoami
```
**List instances**
```bash
bunx phio list
```
**Watch and push local changes instantly**
```bash
bunx phio dev [instance]
```
**Deploy to remote**
```bash
bunx phio deploy [instance]
```
**Tail logs**
```bash
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:
```json
// 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.
```json
{
"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.