Skip to content

PowerShell module with LiteDB browser in Far Manager

License

Notifications You must be signed in to change notification settings

nightroman/FarLite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FarLite

PowerShell module with LiteDB browser in Far Manager

Requires Far Manager with FarNet.PowerShellFar and Ldbc

How to start

Install Ldbc and get FarLite modules from PSGallery:

Install-Module Ldbc
Save-Module FarLite -Path $env:FARPROFILE\FarNet\PowerShellFar\Modules

You can use the usual Install-Module FarLite command, too. But the module works only in PowerShellFar.

In Far Manager, import the module and get help:

ps: Import-Module FarLite
ps: help about_FarLite

Examples

# Browse "Test.LiteDB" collections
Open-LitePanel Test.LiteDB

# Browse all documents from "Log"
Open-LitePanel Test.LiteDB Log

# Browse "Log" documents using specified columns
Open-LitePanel Test.LiteDB Log -Columns Message, @{e='Date'; k='DM'}, @{e='Type', w=7}

# Browse filtered "Log" documents ordered by descending time
Open-LitePanel Test.LiteDB 'SELECT $ FROM Log WHERE Date > @0 ORDER BY Date DESC' ([DateTime]::Today)

See also

About

PowerShell module with LiteDB browser in Far Manager

Topics

Resources

License

Stars

Watchers

Forks