/exit command closes the ScryCLI application.
Usage
How It Works
When you enter/exit:
- A loading indicator appears with “Exiting…” message
- The application waits 1.5 seconds
- ScryCLI closes completely
Example
Alternative Ways to Exit
You can also exit ScryCLI by:- Using the standard terminal interrupt:
Ctrl+C(may vary by system) - Closing the terminal window
- Using
/logoutwhich also exits after clearing configuration
What Happens on Exit
The
/exit command performs a clean shutdown but does NOT clear your configuration. Your settings (model selection, API keys, etc.) are preserved for the next session.- Saved: All configuration in
~/.scrycli/config.json - Lost: Current chat session and conversation history
- Preserved: Selected model, API keys, user settings
Difference from /logout
| Feature | /exit | /logout |
|---|---|---|
| Closes application | ✓ | ✓ |
| Clears configuration | ✗ | ✓ |
| Requires confirmation | ✗ | ✓ |
| Exit delay | 1.5 seconds | 1 second |
Restarting After Exit
After using/exit, you can restart ScryCLI by running:
- Selected AI model
- API key settings
- User preferences
Canceling Exit
Once you pressEnter after typing /exit, the shutdown begins immediately. To cancel:
- Press
Escbefore pressingEnterto return to chat - After pressing
Enter, the exit cannot be canceled (1.5 second delay is brief)
Use Cases
Use/exit when:
- You’re finished with your current session
- You want to close ScryCLI cleanly
- You don’t need to clear your configuration
- You plan to return and continue with the same settings
