Skip to content

gwz ls

List workspace members.

gwz ls [OPTIONS]

Human output is one path per line and has no header, so it can be used in simple scripts.

Options

Option Meaning
--local Print workspace-relative paths instead of absolute paths.
--unmaterialized Include configured members that are not materialized.

Examples

Print absolute paths for materialized members:

gwz ls

Print workspace-relative paths:

gwz ls --local

Include configured members that are not checked out locally:

gwz ls --unmaterialized

Use JSON for member ids and paths:

gwz --json ls

Machine Shape

gwz --json ls renders:

{
  "kind": "members",
  "entries": [
    {
      "id": "gwz-cli",
      "path": "gwz-cli",
      "abspath": "/work/gwz-dev/gwz-cli",
      "materialized": true
    }
  ]
}