Commit Graph

15 Commits

Author SHA1 Message Date
Lux Aliaga 76ad4aad5a
src: Better error handling
Should make it more Rusty™. Solves #2. Thank you @j0 for the help. (i'm
big stupid lol)
2022-09-19 00:31:30 -03:00
Lux Aliaga d11a200d6f
inv: Added directory listing
Now you can list the contents of directories with the list command!
2022-09-18 00:31:23 -03:00
Lux Aliaga c2e276c6e2
src: Code cleanup
To demessify the project I've decided to clean the code a bit and make
it a little less painful to see. The main change here is that instead of
defining every single time the active and inactive directories it calls
it from a vector in common.rs, which is cleaner and allows for easily
implementing a config file to customize those values later on. Also,
version bump!
2022-09-17 05:49:52 -03:00
Lux Aliaga 38e8627bc2 src: Added comments
Just so I don't get lost later lol
2022-09-15 00:47:13 -03:00
Lux Aliaga 68223011da main: Command shortcodes
This commit adds shorter versions of commands, so you can save time!
2022-09-15 00:22:49 -03:00
Lux Aliaga 961a30b47b main: Removed PathBuf from dependencies
This should suppress a warning indicating this exact issue
2022-09-15 00:10:19 -03:00
Lux Aliaga 50d8318d13 fixup! item: Implement file dropping 2022-09-14 23:54:57 -03:00
Lux Aliaga 98a93f6d94 item: Implement file dropping
And now you can take files out of your inventory! This should cover most
of the functionality.
2022-09-14 23:52:00 -03:00
Lux Aliaga 496bbfb64f fixup! item: Implement taking files 2022-09-14 23:50:58 -03:00
Lux Aliaga a3894ab02a item: Implement taking files
You can now take files and put them in your inventory! An essential
function of this program that should've been implemented from the
beginning!
2022-09-14 23:20:17 -03:00
Lux Aliaga 8a68b7d3b5 src: Moved env_config() to new module
Since item management will depend on this function, making it
independent from inv.rs will probably be for the best.
2022-09-14 19:45:28 -03:00
Lux Aliaga 1ecc16ca9d main: Added help message
It has a copyright notice and some commands. Not much else, really.
2022-09-14 19:26:35 -03:00
Lux Aliaga cc2d1053cb fixup! src: Added license notice 2022-09-14 18:48:00 -03:00
Lux Aliaga 8ac901c0d6 src: Added license notice 2022-09-14 18:45:47 -03:00
Lux Aliaga 282a358f6e vento: Imported changes to Git
Since I didn't work on the initial part of the project on Git, I guess
I'll just do a big commit with all of what I did. This includes the
inventory management commands "list" and "switch", plus the command to
initialize Vento.
2022-09-14 09:36:34 -03:00