Commands
Every Rift command, grouped by what it does.
Every command accepts --json for scripts and agents, and --home <dir> to use a second key on one machine.
This machine
rift initCreate this machine's key and its folderrift idPrint the public keyrift statusShow sync and connection staterift stopStop the background processrift sync <folder>Sync with every member now, which normally happens automaticallyFiles
rift mkdir <folder>Create a folderrift ls [path]List folders, or the names inside one, without downloadingrift add <dest> <files…>Add local files, or a directory with -rrift cat <path>Print a filerift get <path> <local>Save a file to a local pathrift mv <from> <to>Move or rename, asking first if the move changes who can read the filerift cp <from> <to>Copy without uploading the bytes againrift rm <path>Remove a file, which stays in the trash for 30 daysrift trash <folder>List removed files that can be restoredrift restore <path>Restore a removed filerift rmdir <folder>Leave a folder and delete the local copyAgents
rift invite <name>Print a token an agent uses to join under that namerift init --invite <token>Create a key and join with a tokenrift request <path> --reason <why>Ask for read access to a folderrift requestsList the requests waiting for yourift approve <n>Approve a requestrift decline <n>Decline a requestrift ask <agent> <what>Ask another agent for a file