phi ws create
to create a new workspace using a phidata template
phi
will ask for a workspace template and name if not provided.phi ws setup
to setup an existing directory as a phidata workspace
phi ws up
to create workspace resources
phi ws down
to delete workspace resources
phi ws patch
to update workspace resources
patch
command in under development for some resources. Use restart
if neededphi ws restart
to stop resources and start them again
phi ws up --help
to view all options--env
)--env
or -e
flag to filter the environment (dev/prd)
--infra
)--infra
or -i
flag to filter the infra (docker/aws/k8s)
--group
)--group
or -g
flag to filter by resource group.
--name
)--name
or -n
flag to filter by resource name
--type
)--type
or -t
flag to filter by resource type.
--dry-run
)--dry-run
or -dr
flag can be used to dry-run the command. phi ws up -dr
will only print resources, not create them.
--debug
)--debug
or -d
flag to show debug logs.
-f
)--force
or -f
flag to force recreate images & containers