CLI Reference
This page provides documentation for our command line tools.
ptah
https://stackoverflow.com/a/71008105
Usage:
Options:
--version
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to copy it or
customize the installation.
--help Show this message and exit.
build
Copy all Kubernetes manifests from the current project into the build_output directory.
Usage:
Options:
dashboard
Open the Kubernetes dashboard with a prepared bearer token for authentication.
Usage:
Options:
deploy
Build the project, ensure the Kind CLI and cluster exit, sync and apply Helm charts, apply Kubernetes manifests, and set up port-forwarding from the cluster to localhost.
Usage:
Options:
--build / --no-build [default: build]
--forward / --no-forward [default: forward]
--sync / --no-sync [default: no-sync]
--help Show this message and exit.
forward
Forward the Kubernetes API server and all deployment ports to localhost; alternatively kill all active "port forward" sessions.
Usage:
Options:
nuke
Forcibly delete the Kind cluster, all related resources, and prune dangling Docker images.
Usage:
Options:
--docker / --no-docker [default: docker]
--kind / --no-kind [default: kind]
--help Show this message and exit.
project
Echo the current project configuration, including default values, to standard output using the specified format.
Usage:
Options:
ssh
Find the first pod with provided app name; then SSH (kubectl exec) into it.
Usage:
Options:
sync
Find all Ptah-managed Docker images containing copy statements like
COPY source /target
and synchronize the contents of the source directory with the target directory in all running pods using that image.
Usage:
Options: