-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug report] generate-scheme is not working #58
Comments
There may still be a bug, but the immediate error I see is in the command: It should be: |
Using your suggestion, are you able to see this working? |
I forgot to add the outfile or save in the example above. I just ran the following command and it worked correctly: |
ah ha! I can confirm that does indeed output to Answer: yes OK so now we understand the behavior of running the
This doesn't work as advertised:
Maybe we can just lose the
Let's try to satisfy the OUTFILE requirement. Nope:
So yea, I'd suggest removing the Thoughts? Also, it would really be cleaner if everything other than the subcommand were structured as a parameter with corresponding name. That way, there's no mix-matching of --key=value and singleton args. Ideally, we'd be looking at something simple like what follows: Just parse the image and dump to STDOUT Parse the image and save to the default file in the default path (~/.local/share/tinted-theming/tinty/custom-schemes//tinty-generated.yaml) Same as previous but this time define the name of the .yaml file to use when saving as well as the value of |
Yeah I'm with you, I think the number of options makes it confusing and for some reason the help and the actual command function has I'll remove Thank you for going through this and giving your input! |
Thanks for this. I just tested it out and things are looking quite good. I do have a few questions and 1 suggestion: There doesn't seem to be a way to populate the value of I noticed some color values are not quoted:
Should they be? It seems to work regardless. One suggestion I'd offer would be to append a commented version of the color onto the end of each line. That way, it becomes very easy to tweak a file when using an editor configured to render these color values. |
What image format(s) are supported by the
generate-scheme
command?I've tried with a .jpg and .png and am always given an error:
Error: Invalid image file supplied
I really don't know anything about rust so ability to troubleshoot is limited. That said, here's a trace:
and obviously....
The text was updated successfully, but these errors were encountered: