Go to file
2024-07-22 06:24:45 +02:00
docs Ading comments and cleaning up 2024-07-22 06:24:45 +02:00
MycroForge.CLI Ading comments and cleaning up 2024-07-22 06:24:45 +02:00
MycroForge.Core Ading comments and cleaning up 2024-07-22 06:24:45 +02:00
MycroForge.PluginTemplate Updated docs and minor cleanup 2024-07-15 22:49:31 +02:00
MycroForge.PluginTemplate.Package Updated docs and minor cleanup 2024-07-15 22:49:31 +02:00
readme - Refactored init & features 2024-07-14 22:27:32 +02:00
.gitignore Initial commit 2024-04-21 23:56:27 +02:00
MycroForge.sln Cleaned up 2024-07-07 23:37:17 +02:00
nuget.docker-compose.yml Updated docs 2024-07-07 21:24:56 +02:00
README.md Ading comments and cleaning up 2024-07-22 06:24:45 +02:00

Dependencies

  • git
  • Docker
  • bash (/bin/bash)
  • Python 3.10.2 (/usr/bin/python3)
    • python3-pip
    • python3-venv

Note

The MycroForge CLI assumes a linux compatible environment, so on Windows you'll have to use WSL. Ubuntu-22.04 is the recommended WSL version to use.

TODO

  • Figure out why BashException cannot be caught, can it be due to the differences in scoping? Because the Bash class is static and the services calling Bash.ExecuteAsync are in the container. Maybe this in combination with the async nature of the whole thing?

Install

Run the install script in the same directory as the downloaded zip. See the example below for linux-x64.

sudo ./install.sh m4g-<platform>.zip <platform>

Add DevDisciples NuGet source

dotnet nuget add source --name devdisciples --username username --password password https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json --store-password-in-clear-text

TODO

  • Fix -c option for m4g db generate entity
  • Mention --dbu-platform option for m4g init
  • Research if System.CommandLine middleware can be used to safeguard commands like m4g add or m4g api.
  • Fix up exception handling
  • Clean up README files