From d2388d34b4258fcf5d22215b0eeefc16e4166fc0 Mon Sep 17 00:00:00 2001 From: agres Date: Sat, 18 Oct 2025 00:49:19 +0200 Subject: [PATCH] commands --- data/commands.json | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/data/commands.json b/data/commands.json index 08f7b5c..b752f31 100644 --- a/data/commands.json +++ b/data/commands.json @@ -27,26 +27,18 @@ ], "python": [ { - "command": "python3 -m venv .venv; source .venv/bin/activate", + "command": "python3 -m venv .venv && source .venv/bin/activate", "desc": "Initialise a (simple) .venv and activate it" - }, - { - "command": "command", - "desc": "Initialise a poetry project" - }, - { - "command": "command", - "desc": "..." } ], "go": [ { "command": "go mod init github.com/username/projectname", - "desc": "Initialise a go project" + "desc": "Initialise a go project and create a mod file" }, { "command": "go get github.com/some/package@latest", - "desc": "Add dependencies (cringe)" + "desc": "Add dependencies" }, { "command": "go mod tidy", @@ -57,11 +49,11 @@ "desc": "Verify Integrity" }, { - "command": "go run src/main.go", + "command": "go run ", "desc": "Run a main.go file" }, { - "command": "go build -o bin/myprogram main.go", + "command": "go build -o bin/ ", "desc": "Build an executable" }, { @@ -73,6 +65,18 @@ { "command": "git checkout -b branch_name", "desc": "Create and checkout a new branch" + }, + { + "command": "git rebase ", + "desc": "Rebase commits from source branch to target branch" + }, + { + "command": "git stash", + "desc": "Stash changes without commiting" + }, + { + "command": "git reflog", + "desc": "Show history of all changes" } ] }