You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This CLI Tool aims to make it easier to use Gitpod for web development.
Documentation
The documentation can be found under GPT Documentation. If you want to try it, open Shopware workspace sample in gitpod. In the terminal type gpt -h to get a list of the available commands.
Installation
Add the microsoft repository as the official ubuntu package manager doesn´t contain the dotnet runtime in version 7
Unzip the downloaded tool, create a folder in your home folder and add an alias to your bashrc.
If you are not using bashrc, you might need to change the following lines accordingly.
If everything worked, then you should be able to use the gpt command in the terminal.
Development
This tool is written in C# and runs on dotnet v7.
Within the terminal you can run the app with dotnet run. Normally dotnet would use the given flags, like dotnet run -h, and interpret them. If you want to pass one or more flags to the app, write -- before them like in this example dotnet run -- -h -f. Now -h and -f would be handled by the app itself.
To compile the app execute the following command dotnet build -r linux-x64 --configuration Release --no-restore --self-contained false /p:PublishSingleFile=true /p:PublishTrimmed=true. You can now copy the created files from bin/Release/net7.0/linux-x64/.
There is also a compile.sh script in the root folder that compiles everything and puts the result into gitpod-tool.zip in the root folder of the project.
Issues, Feature requests etc.
Create an issue if you encounter problems with this tool or have suggestions on what to add next.