mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
dnote, critique: add pages (#22731)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# critique
|
||||
|
||||
> Review Git changes with syntax highlighting and word-level diffs.
|
||||
> More information: <https://github.com/remorses/critique#usage>.
|
||||
|
||||
- Review unstaged changes in the working tree:
|
||||
|
||||
`critique`
|
||||
|
||||
- Review only staged changes:
|
||||
|
||||
`critique --staged`
|
||||
|
||||
- Review the changes introduced by a specific commit:
|
||||
|
||||
`critique {{commit}}`
|
||||
|
||||
- Compare two branches:
|
||||
|
||||
`critique {{branch_1}} {{branch_2}}`
|
||||
|
||||
- Review the local `HEAD` against its remote-tracking branch:
|
||||
|
||||
`critique origin/{{branch}} HEAD`
|
||||
|
||||
- Review changes, automatically refreshing when files change:
|
||||
|
||||
`critique --watch`
|
||||
|
||||
- Restrict the review to files matching a glob pattern:
|
||||
|
||||
`critique --filter "{{src/**/*.ts}}"`
|
||||
|
||||
- Generate an AI code review using a specific agent:
|
||||
|
||||
`critique review --agent {{claude}}`
|
||||
@@ -0,0 +1,36 @@
|
||||
# dnote
|
||||
|
||||
> A multi-device notebook for capturing commands, snippets, and notes.
|
||||
> More information: <https://www.getdnote.com/docs/cli/commands/>.
|
||||
|
||||
- Add a note to a book in the configured editor:
|
||||
|
||||
`dnote add {{book_name}}`
|
||||
|
||||
- Add a note with inline content:
|
||||
|
||||
`dnote add {{book_name}} {{[-c|--content]}} "{{note_content}}"`
|
||||
|
||||
- List all books and notes:
|
||||
|
||||
`dnote view`
|
||||
|
||||
- View all notes in a specific book:
|
||||
|
||||
`dnote view {{book_name}}`
|
||||
|
||||
- Search notes using full-text search:
|
||||
|
||||
`dnote find "{{keywords}}"`
|
||||
|
||||
- Edit a specific note by its ID:
|
||||
|
||||
`dnote edit {{note_id}}`
|
||||
|
||||
- Remove a note or an entire book:
|
||||
|
||||
`dnote remove {{note_id|book_name}}`
|
||||
|
||||
- Synchronize notes with a Dnote server:
|
||||
|
||||
`dnote sync`
|
||||
Reference in New Issue
Block a user