.nh .TH "glab" "1" "Jul 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-opentofu-state-list - List states. .SH SYNOPSIS \fBglab opentofu state list [flags]\fP .SH DESCRIPTION Lists the OpenTofu or Terraform states in the current project, including each state's latest version serial and lock status. .SH OPTIONS \fB--jq\fP="" Filter JSON output with a jq expression. .PP \fB-F\fP, \fB--output\fP="text" Format output as: text, json. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX glab opentofu state list glab opentofu state list -F json .EE .SH SEE ALSO \fBglab-opentofu-state(1)\fP