9 Commits

Author SHA1 Message Date
comp500
a25a651748 Remove duplicate (default "") in flag desc (fixes #172) 2022-12-13 13:27:50 +00:00
comp500
11671421ac -y/--yes flag for non-interactive mode (fixes #46)
Also makes Modrinth auto-accept search results with only 1 result, to be
consistent with CurseForge.
2022-08-25 04:47:18 +01:00
Morgane Austreelis
d051932bbb
Add --cache flag to export commands (#133)
This option allow overriding the cache directory

An 'cache.directory' entry has also been added in the config
2022-06-09 00:36:24 +01:00
comp500
0f3096e251 Use the correct directories for non-mod files; use .pw.toml extension
The mods-folder option is now replaced with two new options: meta-folder and meta-folder-base
This allows non-mod files to use the correct directory based on their category; with correct
import of resource packs/etc from CurseForge packs, and the ability to override this behaviour.
To improve the reliability of packwiz metadata file marking (in the index), new files now use .pw.toml
as the extension - any extension can be used, but .pw.toml will now be automatically be
marked as a metafile regardless of folder, so you can easily move metadata files around.
Existing metadata files will still work (as metafile = true is set in the index); though in
the future .pw.toml may be required.
2022-05-16 21:06:10 +01:00
comp500
5a48ddeb66 Create local store functions 2022-05-14 19:38:32 +01:00
comp500
d7851bd7fd ExecuteC already prints errors (fixes #55) 2021-09-24 14:27:09 +01:00
comp500
a553c3ce08 Fix unhandled error warnings, error messages (except import.go) 2019-11-15 22:28:14 +00:00
comp500
79a62c735e Use UserConfigDir instead of $HOME
go-homedir???! I be using go 1.13 now
2019-09-19 01:22:59 +01:00
comp500
4fea7ceebf Switch to cobra/viper 2019-09-16 21:44:40 +01:00