FarNet.RedisKit 0.2.5

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package FarNet.RedisKit --version 0.2.5                
NuGet\Install-Package FarNet.RedisKit -Version 0.2.5                
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.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FarNet.RedisKit --version 0.2.5                
#r "nuget: FarNet.RedisKit, 0.2.5"                
#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.5

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

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: <mask>
rk:subcommand key=value; ...

Common parameters

  • redis=<configuration>

    Specifies the Redis configuration string or name.
    Default: see Settings.

Commands

  • rk:

    Opens the Keys panel with the default Redis configuration and an optional key mask specified with a space after the command prefix.

  • rk:edit

    Opens the string editor, see Edit string.

  • rk:keys

    Opens the Keys panel.

  • rk:hash

    Opens the Hash panel.

  • rk:list

    Opens the List panel.

  • rk:set

    Opens the Set panel.

  • rk:tree

    Opens the Keys panel with the folder tree.


Edit string

This command opens the string editor

rk:edit key=<key>

Parameters

  • key=<key> (required)

    Specifies the existing or new string key.

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


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: <mask>
rk:keys mask=<mask>
rk:tree root=<root>; colon=<string>

Parameters

  • mask=<mask> (optional)

    Specifies the search pattern or wildcard or fixed prefix.

    (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=<root> (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=<name>

Parameters

  • key=<name> (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=<name>

Parameters

  • key=<name> (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=<name>

Parameters

  • key=<name> (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.


  • 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 91 10/27/2024
0.2.5 75 10/26/2024
0.2.4 83 10/25/2024
0.2.3 78 10/23/2024
0.2.2 88 10/22/2024
0.2.1 72 10/21/2024
0.2.0 81 10/21/2024
0.1.5 73 10/17/2024
0.1.4 146 5/15/2024
0.1.3 111 5/8/2024
0.1.2 111 5/7/2024
0.1.1 128 5/7/2024
0.1.0 129 5/6/2024
0.0.4 123 5/5/2024
0.0.3 111 5/5/2024
0.0.2 126 5/4/2024
0.0.1 133 5/4/2024