osmates account sign-in
Sign this Mac in to its TablePro Account.
osmates account sign-in [--device] [--json]At the Mac's screen, OSMates opens its sign-in page, and the command waits up to 10 minutes for the sign-in to finish there. Over SSH, or with --device, it prints the account's page and a code: open the page in any browser and enter the code. Control-C cancels a sign-in with a code, and stops the wait for the page OSMates opened. Over SSH while nobody is logged in at the Mac's screen, the login keychain is locked and the sign-in fails: log in at the Mac once, or use osmates account import, which needs no keychain.
Arguments
--deviceSign in with a code entered in any browser, also at the Mac's screen.
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints an object with these fields.
JSON Schema: /schemas/0/cli/account/sign-in.json
accountobjectRequiredaccount.accountIDstringaccount.availabilitystringRequiredOne of
notInThisBuild,signedOut,signedIn.account.emailstringaccount.lastConfirmedstring (date-time)account.macLimitintegeraccount.machineIDstringaccount.macsInUseintegeraccount.manageURLstring (uri)account.problemobject or stringOne of
keychainUnavailable,revokeFailed, or an object that holds one key:unreachable.account.teamsarray of stringsRequiredaccount.thisMacobjectentitlementobjectRequiredentitlement.basisstringRequiredOne of
builtFromSource,beta,account.entitlement.editionstringRequiredOne of
free,pro,team.entitlement.featuresarray of stringsRequiredEach item is one of
moreMachines,startAtLogin,keepMacAwake,unattendedUpdate,watchdog,recordingExport,proxyCredentials,agentSandbox,templates,templatePush,testMatrix,ciRunners,trajectories,managedPolicy,auditExport,sharedImages.entitlement.lapseobject or stringOne of
unreadable,accountLocked, or an object that holds one key:ended,unconfirmed,releaseAfterUpdates,releaseBetweenUpdates,releaseBeforeListedUpdates,macLimitorremovedFromAccount.entitlement.renewalPriceobjectentitlement.updateWindowsarray of objectsentitlement.validThroughstring (date-time)
Fields nested deeper are in the schema.
Exit statuses
Its exit status is one of these.
| Status | Meaning |
|---|---|
| 0 | The command did what it was asked. |
| 1 | The command failed; with --json, standard error's last line is the error object. |
| 64 | The command line is wrong, as ArgumentParser found before the command ran. |
| 65 | What was given is wrong, found while the command ran; the same command fails until it changes. |
| 75 | The same command can work later with nothing changed, as while an update finishes. |
| 130 | Control-C cancelled what the command started. |