PhloemDocs
Markdown
CLI reference

#phloem device

Your organization's devices: enrol a headless machine (an admin approves it), or remove one

phloem device [OPTIONS] <COMMAND>

#phloem device enrol

phloem device enrol [OPTIONS] <NAME>
Arguments
<NAME>—
Options
--account <URL>Your Phloem account's address (https://account.<domain>); default: this machine's
--machine-id <ID>This machine's stable id; else the OS's (the one Computer reads)
--no-browserDo not open a browser here: open the printed link yourself and paste the code it shows

#phloem device remove

Remove a device (by name or id): run on it, it signs itself out; anywhere else, an admin removes it on the Devices page of the Phloem account

phloem device remove [OPTIONS] <DEVICE>
Arguments
<DEVICE>—
Options
--data-onlyDelete only the cloud's record of it (run off the device: its credential keeps working until it is revoked in the Phloem account)
--account <URL>Your Phloem account's address (https://account.<domain>), for the Devices page

Updated