stash/internal/manager/config
Csaba Maulis 0c0ba19a23
Add -v/--version flag to print version string (#3883)
* Add `-v/--version` flag to print version string

- Created a new flag `-v/--version` in the command-line interface to display the version number and exit.
- Moved all version-related functions inside the config package to the new file `manager/config/version.go` to avoid circular dependencies.
- Added a new `GetVersionString()` function to generate a formatted version string.
- Updated references to the moved version functions.
- Updated references in the `Makefile`.

* Move version embeds to build package

* Remove githash var

---------

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2023-07-11 15:54:42 +10:00
..
config.go Add -v/--version flag to print version string (#3883) 2023-07-11 15:54:42 +10:00
config_concurrency_test.go Allow serving of interactive CSVs directly to Handy (#3756) 2023-07-11 14:02:09 +10:00
enums.go Add filesystem based blob storage (#3187) 2023-03-17 10:52:49 +11:00
init.go Add -v/--version flag to print version string (#3883) 2023-07-11 15:54:42 +10:00
map.go Stash rating system (#2830) 2022-11-16 09:31:44 +11:00
map_test.go Customize recommendations (#2592) 2022-06-14 10:34:04 +10:00
stash_config.go Add move files external interface (#3557) 2023-03-22 07:57:26 +11:00
tasks.go Support image clips/gifs (#3583) 2023-05-17 09:30:51 +10:00
ui.go Separate graphql API from rest of the system (#2503) 2022-09-06 07:03:40 +00:00
urlmap.go Restructure go project (#2356) 2022-03-17 11:33:59 +11:00
urlmap_test.go Restructure go project (#2356) 2022-03-17 11:33:59 +11:00