Skip to content

Commit

Permalink
bump to 3.7.0, update readme/manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
booniepepper committed May 29, 2024
1 parent f1e6a2c commit f74f023
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
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.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sigi"
version = "3.6.4"
authors = ["J.R. Hill <justin@so.dang.cool>"]
version = "3.7.0"
authors = ["Justin \"Boonie Pepper\" Hill <justin@so.dang.cool>"]
edition = "2021"
license = "GPL-2.0-only"
description = "An organizing tool for terminal lovers who hate organizing"
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ organize your various stacks.

---

```
```console
$ sigi -h
An organizing tool for terminal lovers who hate organizing

Expand All @@ -28,6 +28,7 @@ Commands:
count Print the total number of items in the stack [aliases: size, length]
delete Move the current item to "<STACK>_history" and mark as deleted [aliases: pop, remove, cancel, drop]
delete-all Move all items to "<STACK>_history" and mark as deleted [aliases: purge, pop-all, remove-all, cancel-all, drop-all]
edit Edit the content of an item. Other metadata like creation date is left unchanged
head Print the first N items (default is 10) [aliases: top, first]
is-empty Print "true" if stack has zero items, or print "false" (and exit with a nonzero exit code) if the stack does have items [aliases: empty]
list Print all items [aliases: ls, snoop, all]
Expand All @@ -49,8 +50,8 @@ Options:
-v, --verbose Print more information, like when an item was created [aliases: noisy]
-f, --format <FORMAT> Use a programmatic format. Options include [csv, json, json-compact, tsv]. Not compatible with quiet/silent/verbose [possible values: csv, json, json-compact, tsv]
-t, --stack <STACK> Manage items in a specific stack [aliases: topic, about, namespace]
-h, --help Print help information (use `--help` for more detail)
-V, --version Print version information
-h, --help Print help (see more with '--help')
-V, --version Print version

INTERACTIVE MODE:

Expand Down
5 changes: 4 additions & 1 deletion sigi.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH sigi 1 "May 10, 2024" "version 3.6.4" "USER COMMANDS"
.TH sigi 1 "May 29, 2024" "version 3.7.0" "USER COMMANDS"
.\"
.SH NAME
sigi \- An organizing tool for terminal lovers who hate organizing
Expand Down Expand Up @@ -71,6 +71,9 @@ Move the current item to "<STACK>_history" and mark as deleted. [aliases: pop, r
delete-all
Move all items to "<STACK>_history" and mark as deleted [aliases: purge, pop-all, remove-all, cancel-all, drop-all]
.TP
edit
Edit the content of an item. Other metadata like creation date is left unchanged
.TP
head N
Print the first N items [aliases: top, first]
.TP
Expand Down
2 changes: 1 addition & 1 deletion tests/basic_sigi_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ use run_sigi::sigi;
fn sigi_version() {
let res = sigi("_integ::version", &["--version"]);
res.assert_success();
res.assert_stdout_line_starts_with("sigi 3.6");
res.assert_stdout_line_starts_with("sigi 3.7");
res.assert_stderr_empty();
}
4 changes: 2 additions & 2 deletions tests/interactive_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use run_sigi::{piping, sigi};
fn sigi_interactive_preamble() {
let res = sigi("_integ::interactive", &["interactive"]);
res.assert_success();
res.assert_stdout_line_starts_with("sigi 3.6");
res.assert_stdout_line_starts_with("sigi 3.7");
res.assert_stdout_line_starts_with(r#"Type "exit", "quit", or "q" to quit"#);
res.assert_stdout_line_starts_with(
r#"Type "?" for quick help, or "help" for a more verbose help message"#,
Expand All @@ -17,7 +17,7 @@ fn sigi_interactive_preamble() {
#[test]
fn sigi_interactive_basic() {
let res = piping(&["push hello world"]).into_sigi("_integ::interactive", &["interactive"]);
res.assert_stdout_line_starts_with("sigi 3.6");
res.assert_stdout_line_starts_with("sigi 3.7");
res.assert_stdout_line_starts_with(r#"Type "exit", "quit", or "q" to quit"#);
res.assert_stdout_line_starts_with(
r#"Type "?" for quick help, or "help" for a more verbose help message"#,
Expand Down
2 changes: 1 addition & 1 deletion tests/run_sigi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,6 @@ fn assert_stderr_empty() {
fn sigi_piping_basic() {
let res = piping(&[]).into_sigi("_integ::basic", &["interactive"]);
assert_eq!(res.status, SigiStatus::Unknown);
res.assert_stdout_line_starts_with("sigi 3.6");
res.assert_stdout_line_starts_with("sigi 3.7");
res.assert_stderr_empty();
}

0 comments on commit f74f023

Please sign in to comment.