thebookisclosed / ViVe

C# library and console app for using new feature control APIs available in Windows 10 version 2004 and newer
GNU General Public License v3.0
4.97k stars 298 forks source link

Any interest in a PowerShell module? #74

Open MartinGC94 opened 1 year ago

MartinGC94 commented 1 year ago

This is a pretty cool tool but I think it would be even better as a PowerShell module thanks to the standards set in PowerShell (Tab completion, naming scheme, argument parsing, and easy installation/updating with PowerShellGet).
Would you be interested in a PR to add such a module to this repository? Or would you prefer me to keep it in my own fork (or not make it at all if you so desire).

Currently I'm thinking of making the following commands:

I've taken an initial stab at it here: https://github.com/MartinGC94/ViVe/commit/7f8bed0d1fd2d54eaa1e30ea5fc622ccb0b3abb2 with the Get-ViveFeature command and thought about the parameters for Set-ViveFeature

On a related note, can the library be updated to NET standard 2.0? That would enable it to work with both Windows PowerShell 5.1 and the newer PowerShell 6+ versions

thebookisclosed commented 1 year ago

It's definitely an interesting proposition, haven't really created a PowerShell Module in the past so I'll take a peek at your work 😊

One of the reasons I stick to NetFx is the unrivaled portability and small footprint, however if migrating to newer tech provides significant benefits, I will consider it.

teknixstuff commented 4 months ago

It's definitely an interesting proposition, haven't really created a PowerShell Module in the past so I'll take a peek at your work 😊

One of the reasons I stick to NetFx is the unrivaled portability and small footprint, however if migrating to newer tech provides significant benefits, I will consider it.

.NET standard 2.0 supports running under both .NET framework and .NET core