GithubHelp home page GithubHelp logo

poshredisviewer's People

Contributors

en3tho avatar tznind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tznind

poshredisviewer's Issues

A parameter cannot be found that matches parameter name 'User'.

I need to connect using a redis password. However when I follow the instructions on the README I get an error about the "User" parameter.

PS /xxxxxxxxx> Get-RedisViewer "localhost:6379" -User me -Password myPassword
Get-RedisViewer: A parameter cannot be found that matches parameter name 'User'.

I am using MacOs powershell if that effects anything. If I do not specify the password then I get an authentiction error (so am confident that the ports/firewalls are ok).

I have tried supplying password in the connection string but that results in a timeout on connecting:

PS /xxxxxxxxx> Get-RedisViewer "redis://me:mypassword@localhost:6379"
Get-RedisViewer: It was not possible to connect to the redis server(s). Error connecting right now. To allow this multiplexer to continue retrying until it's able to connect, use abortConnect=false in your connection string or AbortOnConnectFail=false; in your code.

Any advice would be appreciated

Double click Result to see in popup (for results that are too long)

The Results panel shows in a listbox the contents of a Redis Key.

If this is too wide for the console (e.g. when RedisString is long) then it is not possible to see all the content. In my case the key value stored in Redis is a serialized json object so quite long.

It would be really cool if you could double click or hit Enter in the listbox and have a modal popup show the content in a word wrapped popup (e.g. TextView).

How to test the module during dev-time

Hi @En3Tho ,

Thanks for the wonderful project!

I came across this repo while searching for cmdlet's written in F# for Powershell and this is a great example!

NOTE: The only change I've made to the source code is to change the TargetFramework to net6.0.

While testing the powershell module locally, I ran across the following error

PoshRedisViewer/PoshRedisViewer  ๐Ÿฃ main ๐Ÿ…’ base 
+  >_ Import-Module /Users/eklavya/projects/code/PoshRedisViewer/PoshRedisViewer/PoshRedisViewerModule/bin/Debug/net6.0/PoshRedisViewerModule.dll
Import-Module: Could not load file or assembly 'FSharp.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

Also, out of curiosity I noticed two salient features about the project structure and being new to the dotnet ecosystem I wanted to see if I understood them correctly.

  1. <PackageReference Remove="FSharp.Core" /> has been referenced in the fsproj file as to remove the FSharp.Core from the compiled assembly right? If so, could this be the reason why I'm seeing the Could not load file or assembly ... error above?

  2. I also noticed the "composition" of projects via <ProjectReference Include="..\PoshRedisViewer\PoshRedisViewer.fsproj" /> - I think this might be to create explicit compile time dependency between the projects, however it'd be great if you could please confirm.

Is there a way to exit?

Awesome tool. But, for the life of me, I can't figure out how to exit, other than killing the tab.

[Documentation, sort of] I don't understand this code block

Hello there, thanks for reading. I found your project via its link on the terminal.gui project readme. I was reading the source code in order to understand how to use terminal.gui from F# in an idiomatic way.

I'm quite stuck on one section of your code though, and I was hoping you could explain how it worked to me.

The section is here, where as far as I can tell, a hierarchical relationship is being set up for all of the elements you created in makeViews().

I'm guessing this is a computation expression from your own extensions library? If so, could you point out which functionality in your library is being used so I can study it? I appreciate it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.