Documentation

Command Line Interface (CLI)

You can download the cli on the download page. Make sure to download the version available for your operating system, architecture and std library version (gnu for most people, musl for the unemployed). The only available target right now is x86_64-unknown-linux-gnu. More will be added soon.

The CLI only has a few basic functions for now;

Login and Logout

# This will ask you for your login information
sudopresent auth login
# Your encryption key is stored locally
sudopresent auth logout

Editing

The following command will download the contents, decrypt them with your key and create a file called presentation.html.

# Make sure you get the ID from the edit page of your presentation
sudopresent edit <ID> [--serve] [--overwrite]

This will download the contents, decrypt them with your key and create a file called presentation.html

  • --serve will setup a development server so that you can view your presentation as you edit. The server will look for a free port in the 8000-8888 range.

  • --overwrite option will overwrite any contents with the saved version on sudopresent