Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/WyattBrashear/CLIF/llms.txt

Use this file to discover all available pages before exploring further.

CLIF stores your credentials in a local file called .clif/authdata so you don’t need to re-enter your password on every command. When you sign up or log in, the client writes your user ID, password hash, server address, and username to that file. Subsequent commands read from it automatically.
.clif/authdata is stored relative to your current working directory. If you move to a different directory and run a clif command that requires auth, the client won’t find your credentials. Run clif login from the new directory to re-authenticate.

Create a new account

Use clif signup to register a new account on a CLIF server. No prior authentication is needed.
1

Run clif signup

clif signup
2

Enter the server address

Provide the full URL of the CLIF server you want to register on:
Enter the server address:
http://127.0.0.1:8000
3

Enter your username

Enter your username:
alice
4

Enter your password

Your password is hashed with SHA-256 before being sent to the server. The plaintext password is never transmitted or stored.
Enter your password:
••••••••••••
5

Credentials saved

The client saves your user ID, password hash, server address, and username to .clif/authdata in the current directory. You’re ready to run authenticated commands.

Log in to an existing account

Use clif login if you already have an account on a CLIF server. No prior auth file is needed.
1

Run clif login

clif login
2

Enter the server address

Enter the server address:
http://127.0.0.1:8000
3

Enter your username

The client resolves your username to an internal user ID automatically.
Enter your username:
alice
4

Enter your password

Enter your password:
••••••••••••
Your credentials are saved to .clif/authdata in the current directory.

Log out

Run clif logout to remove your local credentials. The client prompts for confirmation before deleting .clif/authdata.
clif logout
Are you sure you want to logout? (y/n)
y
Logging out only removes the local auth file — it does not delete your account or any files stored on the server.

What authdata contains

.clif/authdata stores your user ID, SHA-256 password hash, server address, and username. Your plaintext password is never written to disk.
The file has one value per line:
<user_id>
<sha256_password_hash>
<server_address>
<username>
If this file is deleted or corrupted, run clif login to regenerate it.

Build docs developers (and LLMs) love