FarNet.RedisKit 0.2.6

Prefix Reserved
dotnet add package FarNet.RedisKit --version 0.2.6                
NuGet\Install-Package FarNet.RedisKit -Version 0.2.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FarNet.RedisKit" Version="0.2.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FarNet.RedisKit --version 0.2.6                
#r "nuget: FarNet.RedisKit, 0.2.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FarNet.RedisKit as a Cake Addin
#addin nuget:?package=FarNet.RedisKit&version=0.2.6

// Install FarNet.RedisKit as a Cake Tool
#tool nuget:?package=FarNet.RedisKit&version=0.2.6                

FarNet.RedisKit

Far Manager Redis helpers based on FarNet.Redis


About

RedisKit is the FarNet module for Redis operations in Far Manager.

Project FarNet


Install

How to install and update FarNet and modules
https://github.com/nightroman/FarNet#readme


Commands

RedisKit commands start with rk:. Commands are invoked in the command line or using F11 / FarNet / Invoke or defined in the user menu and file associations. Command parameters are key=value pairs using the connection string format

rk:command key=value; ...

Common parameters

  • redis=<string>

    Specifies Redis configuration string or name from Settings.

Commands


Keys panel

This panel shows key folders, keys, value types and end-of-life dates. Type marks: * String, H Hash, L List, S Set.

The panel is opened by

rk:keys mask=<string>
rk:tree root=<string>; colon=<string>

Parameters

  • mask=<string> (optional)

    Specifies the search pattern or wildcard or fixed prefix for rk:keys.

    (1) If the mask contains [ or ] then it is treated as Redis pattern. See: https://redis.io/docs/latest/commands/keys

    (2) If the mask contains * or ? then it is treated as wildcard with special symbols * and ? and other characters literal.

    (3) Otherwise the mask is used as the fixed literal prefix. Keys are shown without this prefix but all operations work on actual keys with the prefix.

  • root=<string> (optional)

    Specifies the root key prefix for rk:tree.
    The trailing separator (colon) is optional.

  • colon=<string> (optional)

    Specifies the folder separator for rk:tree.
    The default is traditional Redis colon (:).

Keys and actions

  • Enter

    For Hash, List, Set keys opens their panels.
    Use Esc in order to return to the keys panel.

    For folders enters the cursor folder.

  • F4

    Opens the cursor string value editor.

  • ShiftF5

    Clones the cursor key with a new name.

  • ShiftF6

    Renames the cursor key or key folder.
    (!) Take special care on renaming folders.

  • F7

    Creates a new string key.

  • F8, Del

    Deletes the selected keys and key folders.
    (!) Take special care on deleting folders.

  • CtrlPgDn, CtrlPgUp, Enter "dots", CtrlBackSlash

    Folder navigation keys for rk:tree panel.

    If root is specified then navigating up stops at it.


Hash panel

This panel shows hash entries, fields and values. It is opened from the keys panel or by this command:

rk:hash key=<string>

Parameters

  • key=<string> (required)

    Specifies the hash key. If the key does not exist, a new hash will be created. If the key type does not match, it's an error.

Keys and actions

  • F4

    Opens the cursor hash value editor.

  • ShiftF5

    Clones the cursor entry.

  • ShiftF6

    Renames the cursor field.

  • F7

    Creates a new entry.

  • F8, Del

    Deletes the selected entries.


List panel

This panel shows list items. It is opened from the keys panel or by this command:

rk:list key=<string>

Parameters

  • key=<string> (required)

    Specifies the list key. If the key does not exist, a new list will be created. If the key type does not match, it's an error.

Keys and actions

  • F4

    Opens the cursor item editor.

  • ShiftF5

    Creates a new item before the cursor.

  • ShiftF6

    Renames the item.

  • F7

    Creates a new item at the tail.

  • F8, Del

    Deletes the selected items.


Set panel

This panel shows set members. It is opened from the keys panel or by this command:

rk:set key=<string>

Parameters

  • key=<string> (required)

    Specifies the set key. If the key does not exist, a new set will be created. If the key type does not match, it's an error.

Keys and actions

  • F4

    Opens the cursor member editor.

  • ShiftF5

    Creates a new member.

  • ShiftF6

    Renames the member.

  • F7

    Creates a new member.

  • F8, Del

    Deletes the selected members.


Edit string

This command opens the string editor

rk:edit key=<string>

Parameters

  • key=<string> (required)

    Specifies the existing or new string key.

The editor is usually not modal. Saving commits the string to Redis.


  • Copy key to clipboard

    Copies the current key name to clipboard.

  • Help

    Shows RedisKit help.


Settings

F11 / FarNet / Settings / RedisKit Settings and Workings

Settings / FolderSymbols

Specifies valid folder symbols in addition to letters and digits. They are used by rk:tree for inferring folder names.

Settings / Configurations

Specifies Redis configurations, environment variables are expanded. The default configuration name is specified by Workings/Configuration.

Example:

  <Configurations>
    <Configuration Name="Main">%FARNET_REDIS_CONFIGURATION%</Configuration>
    <Configuration Name="Local">127.0.0.1:3278</Configuration>
  </Configurations>

Workings / Configuration

Specifies the current default configuration name. The name must exist in Settings/Configurations.

Example:

  <Configuration>Local</Configuration>

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.6 78 10/27/2024
0.2.5 68 10/26/2024
0.2.4 76 10/25/2024
0.2.3 73 10/23/2024
0.2.2 82 10/22/2024
0.2.1 66 10/21/2024
0.2.0 76 10/21/2024
0.1.5 67 10/17/2024
0.1.4 145 5/15/2024
0.1.3 108 5/8/2024
0.1.2 106 5/7/2024
0.1.1 126 5/7/2024
0.1.0 127 5/6/2024
0.0.4 120 5/5/2024
0.0.3 108 5/5/2024
0.0.2 123 5/4/2024
0.0.1 130 5/4/2024