Releases: gdanko/enpass
Releases · gdanko/enpass
v0.4.4
v0.4.3
Changes
- Use the prefixed formatter module to format the output logging
- Put the logger configuration in util
- The cobra PreRun and Run funcs do not need to return anything
To Do
- I just found that the root command needs to configure the logger too since some of the debug messages are not consistent :(
v0.4.2
Features
- Add a color module to allow me to color the output
- Color list with cyan and show with red (for default output only right now)
Bug Fixes
- With the original package, if you specify
--log error
, the output wouldn't show since it usedloggerInfo()
to display the output. I removed using the logger for default output and user the color module to provide a similar output.
v0.4.1
Features
- Use the gorm engine for database operations as it's far more flexible than just writing SQL code
Bug Fixes
- Silence the gorm logger until I can make its log levels align with the application's
To Do
- Align the gorm logger's level with the application's
- See if I need to explicitly close the database since gorm v2 removed .Close()
v0.3.0
Bug Fixes
- Logging was not working properly.
- The
--sensitive
flag did not work because I was using LIKE and LIKE is case-insensitive.
Major Code Changes
- Use SQL
GLOB
for case-sensitive searches becauseLIKE
is case-insensitive. - Revamp the logging as I found it to be over-complicated.
- Created a function to handle the creating the SQL statements for stuff like
--title
To Do
- Look into using gorm for database functionality.
v0.2.3
v0.2.2
v0.2.1
v0.2.0
Features
- Added an
--orderby
flag to sort results on any combination of title, category, login - Search based on title and/or category
- If you specify a single title or category, you can specify wildcards, e.g., GitHub% or %Amaz%
- Removed the concept of filtering because I think this is a more flexible method
- Added a
--sensitive
flag to force case-sensitive search when using--title
or--category
To Do
- Right now, wildcards only work if the user uses
--title
or--category
once. I will add code to support it so you end up with something liketitle LIKE %foo% OR title LIKE %bar OR title = baz
- Remove wildcards for category because that's just stupid