Update readme

This commit is contained in:
2024-08-15 23:02:17 +02:00
parent b521556d47
commit 1bb00c4e2e

View File

@@ -75,6 +75,20 @@ This means that it can run on files that already have iterative names because no
Works pretty much the same way as *iter* with the exception of *-f* which is not supported by *fmoditer* Works pretty much the same way as *iter* with the exception of *-f* which is not supported by *fmoditer*
Example:
Given
```
video1.mp4
video2.mp4
video3.mp4
```
Running `fmoditer *.mp4` would result in
```
2024-12-15T15-31-53.mp4
2022-03-06T12-55-00.mp4
2023-05-22T17-11-06.mp4
```
## [vsclean](https://git.site.quack-lab.dev/dave/vsclean) ## [vsclean](https://git.site.quack-lab.dev/dave/vsclean)
**"clean" vscode recent projects by deleting non existing entries and adding new folders** **"clean" vscode recent projects by deleting non existing entries and adding new folders**
@@ -97,7 +111,7 @@ GITA_URL=https://git.site.quack-lab.dev/
Fine grained configuration is applied through flags: Fine grained configuration is applied through flags:
``` ```
Usage of repo.exe: Usage of repo.exe:
-f Force assignment of the remote (deletes existing origin) -f Force assignment of the remote (deletes existing origin)
-n string -n string
Name of the repository (shorthand) Name of the repository (shorthand)
-name string -name string
@@ -106,7 +120,7 @@ Usage of repo.exe:
Do not add remote to the new repo (shorthand) Do not add remote to the new repo (shorthand)
-noinit -noinit
Do not add remote to the new repo Do not add remote to the new repo
-p Make the repository private (shorthand) -p Make the repository private (shorthand)
-private -private
Make the repository private Make the repository private
-r string -r string
@@ -125,27 +139,27 @@ See sample *autoruns.json* in repository of the tool
Supported json fields are: Supported json fields are:
```go ```go
Entry struct { Entry struct {
Name string `json:"name"` Name string `json:"name"`
// ^ only used for logging // ^ only used for logging
Path string `json:"path"` Path string `json:"path"`
// ^ path to the program being run // ^ path to the program being run
Disabled bool `json:"disabled"` Disabled bool `json:"disabled"`
// ^ all entries are enabled by default other than the ones with "disabled": "true" // ^ all entries are enabled by default other than the ones with "disabled": "true"
Procname string `json:"procname"` Procname string `json:"procname"`
// ^ used for detection to determine whether or not the entry has to be run // ^ used for detection to determine whether or not the entry has to be run
Procs []string `json:"procs"` Procs []string `json:"procs"`
// ^ (optional) used for scanning for additional processes before executing actions, some programs start multiple processes as children of the main process and some start multiple processes independently // ^ (optional) used for scanning for additional processes before executing actions, some programs start multiple processes as children of the main process and some start multiple processes independently
ProcsAction string `json:"procsaction"` ProcsAction string `json:"procsaction"`
// ^ (optional) specifies the action to apply specifically and only to procs // ^ (optional) specifies the action to apply specifically and only to procs
Flags []string `json:"flags"` Flags []string `json:"flags"`
// ^ (optional) command line arguments to pass to executable when starting // ^ (optional) command line arguments to pass to executable when starting
Workdir string `json:"workdir"` Workdir string `json:"workdir"`
// ^ (optional) workdir in which to start the program // ^ (optional) workdir in which to start the program
Action string `json:"action"` Action string `json:"action"`
// ^ (optional) what to do with the program on startup (supported are hide/close/click) // ^ (optional) what to do with the program on startup (supported are hide/close/click)
ActionParams []string `json:"actionparams"` ActionParams []string `json:"actionparams"`
// ^ (optional) parameters for actions, currently used only for click, see example in autoruns.json // ^ (optional) parameters for actions, currently used only for click, see example in autoruns.json
ActionDelay int `json:"actiondelay"` ActionDelay int `json:"actiondelay"`
// ^ (optional) amount of time (in milliseconds) to wait before running action on program startup // ^ (optional) amount of time (in milliseconds) to wait before running action on program startup
} }
``` ```