Sholo.CommandLine is a small framework for composing extensible Microsoft.Extensions.Hosting-style command-line apps. Commmands can be defined hierarchically, can register their own services for DI, and can take advantage of strongly-typed parameters and configuration.
This is based on @natemcmaster's McMaster.Extensions.CommandLineUtils library.
A huge thanks to @RahenSaeedUK for the .NET Boxed Templates, without which I probably would have never gotten around to releasing any of this.
I've been building a bunch of small utilities, applications, and container related to home automation, primarily using MQTT and/or Home Assistant.
There are a few foundational libraries/frameworks that I've created along the way. The table shows the third-party pieces they're built on.
Home Automation Foundation Libraries | |||
---|---|---|---|
Sholo.CommandLine | Sholo.HomeAssistant | Sholo.Mqtt | Sholo.Utils |
natemcmaster/CommandLineUtils | - | chkr1011/MQTTnet | - |
And a handful of applications that I plan to publish soon.
MIT License
Copyright (c) 2020 Scott Holodak
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.