Infleare Documentation
Welcome to the Infleare CLI documentation. Infleare CLI is a command-line interface designed to interact with the Infleare in-memory database server efficiently. It provides users with authentication mechanisms, structured command execution, and a seamless way to manage data with key-value operations, JSON updates, and list manipulations. The CLI ensures secure communication with the server using authentication flags and offers a well-structured response parsing mechanism.
Key Features
Authentication: Secure access using username and password credentials.
Command Execution: Execute a variety of commands, including SET, GET, UPDATE, and DELETE.
Data Management: Store and retrieve strings, numbers, JSON objects, and lists efficiently.
Command History: Maintain command execution logs for easy tracking and recall.
Graceful Exit Handling: Supports CTRL+C to prompt for safe exit.
Installation Flexibility: Available for Linux and macOS, with automated installation scripts for seamless setup.
Basic Commands
SET Command
: Stores key-value pairs in different formats (string, number, JSON).
GET Command
: Retrieves stored data using the key.
UPDATE Command
: Modifies existing JSON structures by adding or updating keys.
LIST Operations
: Manage list structures efficiently with commands like LIST.ADD, LIST.GET, and LIST.DELETE.
MAP Operations
: Handle map structures using commands such as MAP.SET, MAP.ADD, and MAP.DELETE.