Cotal TypeScript packages
    Preparing search index...

    Function credsSpace

    • The space a --creds command that names neither --space nor --server addresses, in resolveMeshTarget's order: the selected space, unless this folder's project has one other space, else the space this folder's project is registered, set up or prepared as. undefined leaves the caller's default. It reads no trust, because the credential is the caller's own, and it never takes the only running space, because a credential goes only to a broker the caller paired it with.

      Parameters

      • cwd: string

      Returns { selected: boolean; space: string } | undefined