PhloemDocs
Markdown
CLI reference

#phloem profile

phloem profile [OPTIONS] <COMMAND>

#phloem profile publish

Publish a saved version of the active project (default: the latest)

phloem profile publish [OPTIONS]
Options
--version <VERSION>—

#phloem profile list

phloem profile list [OPTIONS]

#phloem profile download

Write a profile's file (`name@vN`, a name, or a sha prefix) into DIR; never over an existing file without --force

phloem profile download [OPTIONS] <PROFILE>
Arguments
<PROFILE>—
Options
--dir <DIR>[default: .]
--forceWrite over a file already at that path

#phloem profile load

Make a new project here from a profile — `name@vN` from the org library, or a profile FILE (not active)

phloem profile load [OPTIONS] <PROFILE>
Arguments
<PROFILE>—
Options
--name <NAME>—

#phloem profile diff

Drift between the active project and a profile, by document

phloem profile diff [OPTIONS] <PROFILE>
Arguments
<PROFILE>—
Options
--fieldsUnder each change, what moved field by field (before → after)

#phloem profile upgrade

Bring in a newer version of the profile the active project came from, keeping what changed here (Phloem restarts to apply it)

phloem profile upgrade [OPTIONS] [PROFILE]
Arguments
[PROFILE]`name@vN` or a sha prefix among the published profiles (default: the newest newer version)
Options
--file <FILE>The newer version as a profile FILE instead
--take <ID=PICK>Decide a conflict: <conflict id>=ours|theirs (the preview lists the ids)
--replaceThe version loaded cannot be had: replace this project's documents with the newer version's
--dry-runSay what would change and what conflicts, change nothing
--waitWait until Phloem is back after the restart (up to --timeout)
--timeout <TIMEOUT>[default: 60s]

#phloem profile delete

Delete a profile from the org library (`name@vN` or a sha prefix) — needs `phloem login`

phloem profile delete [OPTIONS] <PROFILE>
Arguments
<PROFILE>—

#phloem profile migrate

Rewrite an older profile FILE to the current contract (refuses a newer one); touches no project

phloem profile migrate [OPTIONS] <FILE>
Arguments
<FILE>—
Options
--out <FILE>—
--signer <KID=KEY>The profile's signer, when the org library does not know the file: kid=<base64 public key>

Updated