Repository navigation
Added
api operations,api describe, andapi callcommands for calling any HackMD v1 API operation, including JSON bodies, multipart image uploads, and--includefor status and headers (#119)configcommand that shows the config file path and current settings without printing the access token;--pathprints only the path (#117)--descriptionflag fornotes create,notes update,team-notes create, andteam-notes update(#119)--rootflag to move notes and folders to the root folder, and--clearto clear a note description or a folder description, icon, or color (#119)--noteIdflag onteam-notesto show a single team note, and--limitflag onhistory(#119)--titleflag fornotes updateandteam-notes update(#115)- Piped stdin content for
notes updateandteam-notes update(#112)
Changed
- Faster global npm installation: build tools moved to development dependencies and oclif upgraded (#121)
- Commands now fail with a clear error instead of prompting when no access token is configured and stdin is not a terminal (#121)
- Update commands reject conflicting flags (such as
--rootwith--parentFolderId, or stdin with--content) and empty updates before sending a request (#112, #119) @hackmd/apiupgraded to 2.8.0 (#119)
Fixed
exportprints note content exactly, without adding a trailing newline (#113)
What's Changed
- fix: support piped content in note updates by @EastSun5566 in #112
- fix: preserve exact exported note content by @EastSun5566 in #113
- feat: support updating note titles by @EastSun5566 in #115
- Speed up npm installation and update oclif by @EastSun5566 in #121
- feat: add config command to show config path by @devKobe24 in #117
- feat: support full v1 API through API client by @EastSun5566 in #119
- Release v2.6.0 by @Yukaii in #122
New Contributors
- @devKobe24 made their first contribution in #117
Full Changelog: v2.5.1...v2.6.0