Installation
Prerequisites
- Python 3.8+
- SSH client
- Git (optional, for development installations)
Install from Source
./install.sh --auto
Verify Installation
./rediacc --version
./rediacc --help
Global Options
All commands support these options:
--help- Show command help--output json- Output in JSON format (useful for scripting)--dev- Development mode (relaxed SSL verification)--verbose- Enable verbose logging
Authentication Commands
Login
./rediacc login
Interactive login. Stores token in ~/.rediacc/config.json.
Logout
./rediacc logout
Removes stored authentication token.
Show Current User
./rediacc whoami
Team Management
List Teams
./rediacc list teams
./rediacc list teams --output json
Create Team
./rediacc create team --name "Production"
Show Team Details
./rediacc inspect team Production
Machine Management
List Machines
./rediacc list machines
./rediacc list machines --team Production
./rediacc list machines --team Production --output json
Create Machine
./rediacc create machine \
--name prod-01 \
--team Production \
--ip 10.0.0.5 \
--user deploy
Inspect Machine
./rediacc inspect machine prod-01
./rediacc inspect machine prod-01 --team Production
Delete Machine
./rediacc delete machine prod-01 --team Production --confirm
Queue Management
List Queue Items
./rediacc list queue --team Production
./rediacc list queue --status PENDING
./rediacc list queue --output json
Get Queue Item Details
./rediacc inspect queue item-123
Cancel Queue Item
./rediacc cancel queue item-123 --confirm
File Synchronization
Upload Files
./rediacc sync upload \
--local ./src \
--machine prod-01 \
--repo webapp
Download Files
./rediacc sync download \
--machine prod-01 \
--repo webapp \
--local ./backup
Mirror Sync (Two-way)
./rediacc sync upload \
--local ./src \
--machine prod-01 \
--repo webapp \
--mirror \
--confirm
Verify Files
./rediacc sync download \
--machine prod-01 \
--repo webapp \
--local ./backup \
--verify
Terminal Access
Interactive SSH
./rediacc term --machine prod-01
Execute Command
./rediacc term \
--machine prod-01 \
--command "docker ps"
Connect to Repository
./rediacc term \
--machine prod-01 \
--repo webapp
Configuration Files
~/.rediacc/config.json
Stores authentication tokens and user preferences:
{
"tokens": {
"default": "your-api-token",
"production": "prod-token"
},
"preferences": {
"output": "json",
"verbose": false
}
}
Exit Codes
0- Success1- General error2- Command not found3- Authentication failed4- Permission denied5- Resource not found
Platform-Specific Notes
Windows
Use rediacc.bat instead of ./rediacc or add to PATH.
macOS
Requires System Integrity Protection (SIP) compatible SSH setup.
Linux
Fully supported on all major distributions.
Help and Support
For additional help on any command:
./rediacc COMMAND --help
Visit our documentation or contact support.