Migration Guide¶
Migrate from other tools to Omni CLI.
Table of Contents¶
- From Direct API Usage
- From Multiple CLIs
- From Shell Scripts
- From Other Memory Tools
- Migration Checklist
From Direct API Usage¶
If you currently use curl or custom scripts to call Hostinger, GitHub, or Unleash APIs:
Before¶
After¶
Migration steps¶
- Set your API tokens:
omni config set hostinger_api_token your_token
omni config set github_token your_token
omni config set unleash_api_token your_token
- Replace curl calls with Omni CLI commands
- Update documentation and runbooks
- Test commands in a non-production environment first
From Multiple CLIs¶
If your team uses separate tools for each service:
| Old Tool | Omni CLI Replacement |
|---|---|
| Custom Hostinger scripts | omni hostinger |
gh CLI (basic operations) |
omni github |
| Unleash dashboard (basic toggles) | omni unleash |
| Manual MCP config editing | omni mcp |
| Custom memory scripts | omni memory |
Migration steps¶
- Install Omni CLI alongside existing tools
- Migrate one command group at a time
- Create shell aliases during transition
- Remove old tools after full migration
From Shell Scripts¶
Convert shell scripts to Omni CLI commands:
Before¶
After¶
Benefits¶
- Unified output format
- Built-in alerts
- Cross-platform compatibility
- Easier maintenance
From Other Memory Tools¶
If you use tools like memtest, custom swap scripts, or manual cache relocation:
Migrate to Omni CLI¶
# Replace manual Docker cache move
omni memory cache-move docker
# Replace manual swap monitoring
omni memory monitor
# Replace disk space checks
omni memory status
Migration Checklist¶
- Install Omni CLI
- Configure API tokens
- Identify existing scripts and commands to replace
- Migrate one service at a time
- Update team documentation
- Train team members on new commands
- Archive old scripts
- Set up monitoring/auditing
- Verify everything works in production
Rollback Plan¶
If you need to revert:
- Keep old scripts in an archive directory
- Document old command equivalents
- Maintain API tokens for direct access
- Test rollback procedures before they are needed