Skip to content

Commit a53ab68

Browse files
Expand command usage examples and update instructions in AGENTS.md
- Added multiple new command usage examples to AGENTS.md for improved clarity and reference. - Refined explanations for sample adaptation steps, emphasizing header placement and formatting. - Enhanced consistency and alignment with established documentation standards.
1 parent 6cf83e4 commit a53ab68

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

DotNET/AGENTS.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@
1818
- Run commands from this folder:
1919
- `dotnet build`
2020
- `dotnet run -- markdown-json /path/to/input.pdf`
21+
- `dotnet run -- rasterized-pdf /path/to/input.pdf`
22+
- `dotnet run -- pdf-multipart /path/to/input.html text/html`
23+
- `dotnet run -- merge-different-file-types image.png slides.ppt`
24+
- `dotnet run -- extracted-text /path/to/input.pdf`
25+
- `dotnet run -- extracted-images /path/to/input.pdf`
26+
- `dotnet run -- pdf-info /path/to/input.pdf`
27+
- `dotnet run -- merged-pdf file1.pdf file2.pdf`
28+
- `dotnet run -- split-pdf /path/to/input.pdf`
29+
- `dotnet run -- upload /path/to/input.pdf`
30+
- `dotnet run -- get-resource <id> [out]`
31+
- `dotnet run -- delete-resource <id>`
32+
- `dotnet run -- batch-delete <id1> [id2] [...]`
2133
- `.env` loading: uses `DotNetEnv` (`Env.Load()`), matching VB.NET.
2234

2335
Note: The project currently compiles only `Program.cs` and `Endpoint Examples/JSON Payload/markdown.cs` to avoid top‑level statement conflicts. To enable more samples, add them explicitly to `DotNetSamples.csproj` under a `<Compile Include="..." />` item or refactor them into classes with `Execute(string[] args)`.
@@ -47,9 +59,10 @@ Why no solution file?
4759
- Base URL: `Environment.GetEnvironmentVariable("PDFREST_URL") ?? "https://api.pdfrest.com"`
4860
- Input path: take from `args[0]` and use for `Content-Filename`.
4961
- Opt the file into the project by adding `<Compile Include="…" />` to `DotNetSamples.csproj`.
62+
- Always insert the Sample Header Template at the very beginning of the file (before any `using` lines).
5063

5164
## Sample Header Template
52-
Use this comment block at the top of each sample file you adapt for dispatching (keep lines concise and include the GDPR info line):
65+
Use this comment block at the TOP of each sample file you adapt for dispatching — place it before any `using` directives or namespace (keep lines concise and include the GDPR info line):
5366

5467
```
5568
/*

0 commit comments

Comments
 (0)