Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

Add message when running `task` with no arguments (#6731)

James Bruntonb57958531d30
diff --git a/README.md b/README.md
index 9329b20eed..c1d96eca1d 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ For full installation options (including desktop and Kubernetes), see our [Docum
We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
-This project uses [Task](https://taskfile.dev/) as a unified command runner for all build, dev, and test commands. Run `task install` to get started, or see the [Developer Guide](DeveloperGuide.md) for full details.
+This project uses [Task](https://taskfile.dev/) as a unified command runner for all build, dev, and test commands. Run `task dev` to get started running the editor, run `task` to see the most common commands, or see the [Developer Guide](DeveloperGuide.md) for full details.
For adding translations, see the [Translation Guide](devGuide/HowToAddNewLanguage.md).
diff --git a/Taskfile.yml b/Taskfile.yml
index 0b25cf7aa6..ac4160182a 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -30,6 +30,23 @@ includes:
dir: .
tasks:
+ # ============================================================
+ # Help (shown when you run `task` with no arguments)
+ # ============================================================
+
+ default:
+ desc: "List the most common commands"
+ silent: true
+ cmds:
+ - |
+ echo "Common commands (run 'task --list' to see all):"
+ echo ""
+ echo " task dev Start backend & frontend on free ports"
+ echo " task backend:dev Start backend on default port"
+ echo " task frontend:dev Start frontend on default port"
+ echo " task desktop:dev Start desktop app"
+ echo " task check Quality gate (lint, typecheck, test, etc.)"
+
# ============================================================
# Setup & Prerequisites
# ============================================================