Skip to content

Commit

Permalink
making new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninjani authored and Ninjani committed Dec 26, 2023
1 parent 2500570 commit f8be055
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 19 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [0.20.0] - 2023-12-26

- Open search window for `cp`, `del`, `view`, and `edit` subcommands if no index given, and added filter options (Issue #[154](https://github.com/out-of-cheese-error/the-way/issues/154))
- Add tag/language tab completion (Issue #[148](https://github.com/out-of-cheese-error/the-way/issues/148))
- Add `the-way tags` and `the-way languages` to list current set of tags and languages and the count of snippets for each (Issue #[148](https://github.com/out-of-cheese-error/the-way/issues/148))
- Add `tags` and `languages` subcommands to list current set of tags and languages and the count of snippets for each (Issue #[148](https://github.com/out-of-cheese-error/the-way/issues/148))

## [0.19.2] - 2023-03-12

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "the-way"
version = "0.19.2"
version = "0.20.0"
edition = "2021"
authors = ["Ninjani"]
description = "A code snippets manager for your terminal"
Expand Down
40 changes: 25 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,21 +118,24 @@ A code snippets manager for your terminal
Usage: the-way [OPTIONS] <COMMAND>
Commands:
new Add a new code snippet
cmd Add a new shell snippet
search Fuzzy search to find a snippet and copy, edit or delete it
sync Sync snippets to a Gist
list Lists (optionally filtered) snippets
import Imports code snippets from JSON
export Saves (optionally filtered) snippets to JSON
clear Clears all data
complete Generate shell completions
themes Manage syntax highlighting themes
config Manage the-way data locations
edit Change snippet
del Delete snippet
cp Copy snippet to clipboard
view View snippet
new Add a new code snippet
cmd Add a new shell snippet
search Fuzzy search to find a snippet and copy, edit or delete it
sync Sync snippets to a Gist
list Lists (optionally filtered) snippets
import Imports code snippets from JSON
export Saves (optionally filtered) snippets to JSON
clear Clears all data
complete Generate shell completions
themes Manage syntax highlighting themes
config Manage the-way data locations
edit Change snippet
del Delete snippet
cp Copy snippet to clipboard
view View snippet
tags Lists (optionally filtered) tags
languages Lists (optionally filtered) languages
help Print this message or the help of the given subcommand(s)
Options:
-c, --colorize Force colorization even when not in TTY mode
Expand Down Expand Up @@ -236,7 +239,14 @@ variable `$THE_WAY_GITHUB_TOKEN`.
You can also import snippets from a Gist created by the-way using `the-way import -w <gist_url>`.

## Shell completions
Generate for your shell of interest and save to the appropriate completions folder

```bash
the-way complete bash > the-way-completion.bash
source the-way-completion.bash
```

E.g for oh-my-zsh
```bash
the-way complete zsh > .oh-my-zsh/completions/_the-way
exec zsh
Expand Down

0 comments on commit f8be055

Please sign in to comment.