KisaragiEffective / reinventory-manager

A handy tool that is intended to help your inventory cleanup or dump.
MIT License
15 stars 1 forks source link

ColorPolicyのcamel_caseがdefaultだと動作しない #80

Closed kazu0617 closed 1 year ago

kazu0617 commented 2 years ago

https://github.com/KisaragiEffective/neosvr-inventory-management/blob/4524c08174ae54b1bf2f5886701f889c61480b56/src/cli.rs#L28

と書いてるけどログ見たところこんな感じ

C:\Users\kazu0617\Downloads\neosvr-inventory-management_0.1.10_x86_64-pc-windows-gnu>neosvr-inventory-management.exe list
error: Invalid value "Auto" for '--color <COLOR_POLICY>': Matching variant not found

For more information try --help

C:\Users\kazu0617\Downloads\neosvr-inventory-management_0.1.10_x86_64-pc-windows-gnu>neosvr-inventory-management.exe -c auto list
thread 'main' panicked at 'To perform this action, I must know user, to see inventory contents.', src/main.rs:55:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

指定しないとそもそもカラーポリシーではじかれるっぽい

KisaragiEffective commented 2 years ago

認識してはいたんですが、どうやって解決すればいいのかわからずにいました