/ config / vscode / tasks.json
tasks.json
 1  {
 2      "version": "2.0.0",
 3      "tasks": [
 4          {
 5              "label": "changelog",
 6              "type": "shell",
 7              "command": "pdm run duty changelog"
 8          },
 9          {
10              "label": "check",
11              "type": "shell",
12              "command": "pdm run duty check"
13          },
14          {
15              "label": "check-quality",
16              "type": "shell",
17              "command": "pdm run duty check-quality"
18          },
19          {
20              "label": "check-types",
21              "type": "shell",
22              "command": "pdm run duty check-types"
23          },
24          {
25              "label": "check-docs",
26              "type": "shell",
27              "command": "pdm run duty check-docs"
28          },
29          {
30              "label": "check-dependencies",
31              "type": "shell",
32              "command": "pdm run duty check-dependencies"
33          },
34          {
35              "label": "check-api",
36              "type": "shell",
37              "command": "pdm run duty check-api"
38          },
39          {
40              "label": "clean",
41              "type": "shell",
42              "command": "pdm run duty clean"
43          },
44          {
45              "label": "docs",
46              "type": "shell",
47              "command": "pdm run duty docs"
48          },
49          {
50              "label": "docs-deploy",
51              "type": "shell",
52              "command": "pdm run duty docs-deploy"
53          },
54          {
55              "label": "format",
56              "type": "shell",
57              "command": "pdm run duty format"
58          },
59          {
60              "label": "lock",
61              "type": "shell",
62              "command": "pdm lock -G:all"
63          },
64          {
65              "label": "release",
66              "type": "shell",
67              "command": "pdm run duty release ${input:version}"
68          },
69          {
70              "label": "setup",
71              "type": "shell",
72              "command": "bash scripts/setup.sh"
73          },
74          {
75              "label": "test",
76              "type": "shell",
77              "command": "pdm run duty test coverage",
78              "group": "test"
79          },
80          {
81              "label": "vscode",
82              "type": "shell",
83              "command": "pdm run duty vscode"
84          }
85      ],
86      "inputs": [
87          {
88              "id": "version",
89              "type": "promptString",
90              "description": "Version"
91          }
92      ]
93  }