- update dependencies with new version of reverse_markdown and few other deps update
- fix a 500 case in get api calls
- add command
add
for adding a new workspace - refactor config management and move code to the configstruct gem
- improve markdown cleanup:
- transform isolated bold in h3
- remove parasite lines in list that are left by non-displayed comments
- add a visual indication of currently used workspace in the
workspaces
command
- add a
default
command to switch workspaces - renamed
check
intogetnew
to make it clearer what it does - switch from colorize to paint gems (monkey patch of colorize was itchy)
- switch the prompt code to another gem called cliprompt
- add a command
workspaces
to list workspaces - move config file from ~/.hackpad-cli/default.yml to ~/.hackpad-cli/default/config.yml
- add a
stats
command to show how much pads are cached, and when it was last refreshed - move
-r
(refresh) and-u
(urls) options to specific method options - add a User-Agent so that hackpad knows what is poking them
- completed test coverage
- prevent trailing slash on site config param to fuck up urls
- useless but satisfying rubocop green flag
- add a
cached_at
value in metadata, visible in theshow
command - fix
info
to display guest policy properly - add a
check
command to check if there are new pads and decide to refresh or not - whole lot of more tests
- fix compat with 1.9.3 (require ostruct)
- add a dot-timer for when padlist refreshes so one knows that something is happening
- add an option
-u
to display urls rather than pad id - add an option
-r
to force the refresh of the cache - add storage of cache for pad and pad lists
- add some tests
- add a flag for removing colors
-p
- add options in pad info for
hpcli info [pad_id]
- implement a search command
hpcli search [term]
- add a better way to manage alternative configuration file
- fix alternate config dir setup
- verify compat with ruby 1.9.3
- better readme
- damn, forgot to remove awesome_print. huhu
- initial release of a draft