- Notifications
You must be signed in to change notification settings - Fork0
PowerShell module with LiteDB browser in Far Manager
License
NotificationsYou must be signed in to change notification settings
nightroman/FarLite
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PowerShell module withLiteDB browser inFar Manager
Requires Far Manager withFarNet.PowerShellFar andLdbc
Install Ldbc and FarLite modules from the PowerShell gallery by these commands:
Install-Module LdbcSave-Module FarLite-Path$env:FARHOME\FarNet\Modules\PowerShellFar\Modules
You can use the usualInstall-Module FarLite
command, too.But the module works only in PowerShellFar.
In Far Manager, import the module and get help:
ps:Import-Module FarLiteps: help about_FarLite
# Browse "Test.LiteDB" collectionsOpen-LitePanel Test.LiteDB# Browse all documents from "Log"Open-LitePanel Test.LiteDB Log# Browse "Log" documents using specified columnsOpen-LitePanel Test.LiteDB Log-Columns Message,@{e='Date';k='DM'},@{e='Type',w=7}# Browse filtered "Log" documents ordered by descending timeOpen-LitePanel Test.LiteDB'SELECT $ FROM Log WHERE Date > @0 ORDER BY Date DESC' ([DateTime]::Today)
About
PowerShell module with LiteDB browser in Far Manager