Usage of kent attach:
  kent attach [path]
  kent attach --project <project-id> [path]

Attach a workspace to an existing project and print the project ID.

Project selection:
  Without `--project`, use the project attached to the current directory.
  With `--project`, use the specified project.
  Without `[path]`, attach the current directory.

Paths:
  With a remote server, `[path]` refers to the server's filesystem.

Examples:
  kent attach ../other-checkout
  kent attach --project <project-id> /srv/repos/other-checkout

Flags:
