hana-developer-cli-tool-example Cursor Rules — Cursor Rules | Neura Market
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityExtensionsTrendingGenerate
    CursorRuleshana-developer-cli-tool-example Cursor Rules
    Back to Rules
    Web Development

    hana-developer-cli-tool-example Cursor Rules

    SAP-samples April 15, 2026
    0 copies 0 downloads

    hana-cli (npm: hana-cli, install: `npm install -g hana-cli`) is a command-line tool for SAP HANA database development. It simplifies complex multi-step database operations into single commands. It is a development tool, not a replacement for hdbsql or production admin tools.

    Rule Content
    # hana-cli — AI Coding Assistant Context
    
    ## About hana-cli
    
    hana-cli (npm: hana-cli, install: `npm install -g hana-cli`) is a command-line tool for SAP HANA database development. It simplifies complex multi-step database operations into single commands. It is a development tool, not a replacement for hdbsql or production admin tools.
    
    **Version:** 4.202603.2  
    **Requirements:** Node.js ≥ 20.19.0  
    **Module:** ESM (`"type": "module"`)
    
    ## When to Use hana-cli
    
    Use hana-cli when a developer needs to:
    - **Explore schemas**: `hana-cli tables`, `hana-cli views`, `hana-cli schemas`
    - **Inspect objects**: `hana-cli inspectTable`, `hana-cli inspectView`, `hana-cli inspectProcedure`
    - **Import/export data**: `hana-cli import`, `hana-cli export`
    - **Run queries**: `hana-cli querySimple --query "SQL"`
    - **Check health**: `hana-cli healthCheck`, `hana-cli systemInfo`
    - **Manage connections**: `hana-cli connect`, `hana-cli status`
    - **Profile data**: `hana-cli dataProfile`, `hana-cli dataValidator`
    - **Compare schemas**: `hana-cli compareSchema`, `hana-cli compareData`
    - **Monitor performance**: `hana-cli expensiveStatements`, `hana-cli memoryAnalysis`
    - **Manage security**: `hana-cli users`, `hana-cli roles`, `hana-cli securityScan`
    - **Work with HANA Cloud**: `hana-cli hanaCloudInstances`, `hana-cli hanaCloudStart`
    - **Manage HDI**: `hana-cli containers`, `hana-cli adminHDI`
    
    ## Key Patterns
    
    1. **Always verify connection first:** `hana-cli status`
    2. **Explore before modifying:** Use `tables`, `inspectTable`, `dataProfile` before import/export
    3. **Use dry-run for imports:** `hana-cli import --filename data.csv --table X --schema Y --dryRun`
    4. **Use --output flag:** Many commands support `--output json|csv|table|excel`
    5. **Use --query flag with querySimple:** `hana-cli querySimple --query "SELECT ..."` (not positional args)
    6. **Interactive mode:** Run `hana-cli` with no arguments for a menu-driven experience
    
    ## Connection Setup
    
    ```bash
    hana-cli connect                    # Interactive wizard
    hana-cli connectViaServiceKey       # Via BTP service key
    hana-cli copy2DefaultEnv            # Copy to default-env.json for CAP projects
    hana-cli status                     # Verify connection
    ```
    
    ## Reference
    
    For the complete command reference with all parameters, see:
    - HANA_CLI_REFERENCE.md (full reference, all commands)
    - HANA_CLI_QUICKSTART.md (getting started, top 10 commands)
    - HANA_CLI_EXAMPLES.md (real-world scenarios)
    - HANA_CLI_WORKFLOWS.md (multi-step workflows)
    - categories/*.md (per-category deep dives)
    
    Or run `hana-cli <command> --help` for any specific command.
    

    Tags

    nodejs

    Comments

    More Rules

    View all
    Web Development

    Next.js 15 + TypeScript Cursor Rules

    Comprehensive .cursorrules file for Next.js 15 App Router projects with TypeScript, enforcing server components by default, proper use of "use client" directive, and App Router conventions.

    C
    Community
    Backend Development

    Python FastAPI Best Practices Rules

    Cursor rules for Python FastAPI projects enforcing async patterns, Pydantic v2 models, dependency injection, and proper error handling.

    C
    Community
    Frontend Development

    React + TypeScript Component Rules

    Rules for consistent React component development with TypeScript interfaces, proper hook patterns, and component composition.

    C
    Community
    AI/ML

    Cursor Agent Mode Configuration

    Rules optimizing Cursor Agent mode behavior including multi-file editing context, session management, and autonomous task completion patterns.

    C
    Cursor Team
    Frontend Development

    Tailwind CSS + shadcn/ui Rules

    Cursor rules for projects using Tailwind CSS with shadcn/ui component library, enforcing consistent utility class usage and component patterns.

    C
    Community
    Backend Development

    Go Backend Service Rules

    Rules for Go backend services enforcing idiomatic Go patterns, proper error handling, and clean architecture conventions.

    C
    Community

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.