Skip to content

Commands Overview โ€‹

All available commands organized by category. 155 total commands available - see the Complete Command Reference for the full list.


๐Ÿ“Š Analysis Tools โ€‹

Tools for data analysis, profiling, and quality checks.

All commands: Calc View Analyzer, Column Stats, Data Diff, Data Lineage, Data Profile, Duplicate Detection, ERD Diagram, Fragmentation Check, Referential Check, Table Hotspots.

๐Ÿ—„๏ธ Data Tools โ€‹

Commands for data migration, synchronization, and transformation.

  • Import - Import CSV/Excel datasets into target tables
  • Export - Export table data to CSV, Excel, or JSON
  • Compare Data - Compare row-level data across sources
  • Data Sync - Synchronize data between source and target systems
  • Data Validator - Validate data quality and integrity constraints
  • Kafka Connect - Stream records using Kafka integration workflows

All commands: Compare Data, Data Sync, Data Validator, Export, Import, Kafka Connect.

๐Ÿ—๏ธ Schema Tools โ€‹

Tools for schema management and database structure operations.

All commands: Compare Schema, Schema Clone, Table Copy.

๐Ÿ” Object Inspection โ€‹

Commands for inspecting database objects and metadata.

All commands: Functions, Indexes, Inspect Function, Inspect Lib Member, Inspect Library, Inspect Procedure, Inspect Table, Inspect Trigger, Inspect View, Libraries, Objects, Partitions, Procedures, Schemas, Sequences, Tables, Tables PG, Tables SQLite, Triggers, Views.

๐Ÿงฐ Mass Operations โ€‹

Bulk operations across schemas and objects.

All commands: Mass Convert, Mass Delete, Mass Export, Mass Grant, Mass Rename, Mass Update, Mass Users.

๐Ÿ“ˆ Performance Monitoring โ€‹

Monitoring, diagnostics, and performance tuning commands.

All commands: Alerts, Blocking, Cache Stats, Deadlocks, Expensive Statements, Long Running, Memory Analysis, Memory Leaks, Query Plan, Trace Contents, Traces, Workload Management.

๐Ÿ’พ Backup & Recovery โ€‹

Backup, restore, and retention workflows.

All commands: Backup, Backup List, Backup Status, Reclaim, Restore.

๐Ÿ” Security โ€‹

Security auditing, policies, and privilege analysis.

All commands: Audit Log, Certificates, Create XSA Admin, Encryption Status, Grant Chains, Privilege Analysis, Privilege Error, Pwd Policy, Roles, Security Scan.

๐Ÿ”‘ Connection & Auth โ€‹

Connection management and authentication utilities.

All commands: Connect, Connect via Service Key, Connections, Create JWT, Inspect JWT, Inspect User, Users.

๐Ÿงฉ HDI Management โ€‹

HDI container lifecycle and group management.

All commands: Activate HDI, Admin HDI, Admin HDI Group, Containers, Create Container, Create Container Users, Create Group, Drop Container, Drop Group, HANA Cloud HDI Instances.

โ˜๏ธ HANA Cloud โ€‹

HANA Cloud instance operations and lifecycle control.

All commands: HANA Cloud Instances, HANA Cloud SBSS Instances, HANA Cloud Schema Instances, HANA Cloud Secure Store Instances, HANA Cloud Start, HANA Cloud Stop, HANA Cloud UPS Instances.

๐Ÿงญ BTP Integration โ€‹

BTP targeting and convenience openers.

All commands: BTP, BTP Info, BTP Subs, BTP Target, Open BAS, Open DB Explorer.

๐Ÿ› ๏ธ Developer Tools โ€‹

Commands for development and testing.

  • Help Docu - Open CLI help documentation in your browser
  • Open Read Me - Open README documentation in your browser
  • Open Change Log - Open changelog documentation in your browser
  • CDS - Run CDS-related helper operations
  • Generate Docs - Generate and refresh project documentation

All commands: Call Procedure, CDS, Change Log, Code Template, Create Module, Generate Docs, HDBSQL, Help Docu, Issue, Open Change Log, Open Read Me, Query Simple, Read Me.

๐Ÿงช System Admin โ€‹

Administrative diagnostics and system configuration checks.

All commands: Cache Contents, Crash Dumps, Data Types, Dependencies, Diagnose, Disks, Feature Usage, Features, Health Check, Host Information, INI Contents, INI Files, Ports, Recommendations, Status, System Info.

โš™๏ธ System Tools โ€‹

Administrative and system-level commands.

All commands: CLI (Internal), Command Map (Internal), Compare Schema (Legacy Alias), Copy2 Default Env, Copy2 Env, Copy2 Secrets, Data Mask, Data Volumes, Export (Legacy Alias), FT Indexes, Generate Test Data, Graph Workspaces, Import (Legacy Alias), Index Test (Legacy Placeholder), Inspect Index, Kafka Connect (Legacy Alias), RICK, Replication Status, SDI Tasks, Spatial Data, Synonyms, Table Groups, Test, Time Series Tools, Time Series Tools (Legacy Alias), UI, Version, XSA Services.

Looking for a specific command? Use the search bar above or jump directly to:

Pro Tips โ€‹

  • Use --help flag with any command for detailed options
  • Some commands support --output for different formats (json, csv, table)
  • Use --verbose flag for detailed execution output
  • Use --debug flag for debugging information
  • Use --quiet flag to suppress output for scripting
  • Some commands support aliases for faster typing (e.g., imp for import)

Examples โ€‹

bash
# Get help for a command
hana-cli import --help

# Use verbose output
hana-cli dataProfile -s SCHEMA -t TABLE --verbose

# Export as JSON
hana-cli export -s SCHEMA -t TABLE --output json