From a8a649964d925d16a9bca4b113989a6d9c40cba9 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 28 May 2025 17:11:44 +0000 Subject: [PATCH] Update README.md --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c21162..e4ec856 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,9 @@ It has a Forgejo CI build action, defined in `.forgejo/actions/build.yaml`. ## Usage -Just replace `foo` by the name of the plugin below: +Just replace `foo` by the name of the plugin below. + +With `fish`: ```fish set NAME foo @@ -43,4 +45,25 @@ sed "s/plugin_template/$NAME/" -i src/$PNAME/cli.py sed "s/plugin_template/$NAME/" -i src/$PNAME/settings.py sed "s/plugin_template/$NAME/" -i src/$PNAME/workflows.py uv venv +git init ``` + +Then, with `fish`: +```fish +. .venv/bin/activate.fish +uv sync +``` + +Or `bash`: +```bash +. .venv/bin/activate +uv sync +``` + +The package is ready. + +In a *knoc* development environment: +```fish +uv pip install -e ../$DNAME +knoc # Should display the new plugin's CLI tool +``` \ No newline at end of file