https://github.com/poteto-go/poteto-cli
cli tool supports poteto app
https://github.com/poteto-go/poteto-cli
cli go golang hotreload poteto webapp
Last synced: 4 months ago
JSON representation
cli tool supports poteto app
- Host: GitHub
- URL: https://github.com/poteto-go/poteto-cli
- Owner: poteto-go
- License: mit
- Created: 2025-01-03T09:43:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-24T10:44:01.000Z (about 1 year ago)
- Last Synced: 2025-03-29T22:04:40.771Z (about 1 year ago)
- Topics: cli, go, golang, hotreload, poteto, webapp
- Language: Go
- Homepage:
- Size: 48.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Poteto-Cli
We support cli tool. But if you doesn't like it, you can create poteto-app w/o cli of course.
```sh
go install github.com/poteto-go/poteto-cli/cmd/poteto-cli@latest
```
- hot-reload run for golang
- support creating poteto app
## Build From Docker
You can also use from docker image
https://hub.docker.com/repository/docker/poteto17/poteto-go/general
```sh
docker pull poteto17/poteto-go
docker -it --rm poteto17/poteto-go:1.23 bash
```
## Create new app
Create file.
```sh
poteto-cli new
```
fast mode.
```sh
poteto-cli new --fast
```
## run app with hot-reload
- create `poteto.yaml`
```yaml
version: "1.1"
build_script_path: "main.go"
debug_mode: true
```
- command
```sh
poteto-cli run
```
## create app demo
https://github.com/user-attachments/assets/4b739964-1b4f-4913-b643-5984bf1ceae1