From 6de07147475fc2e5f4aebb96f0bc92fc7885268e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=99=AA=20hiljusti=20=F0=9F=8E=AE?= Date: Fri, 26 Nov 2021 03:56:10 -0800 Subject: [PATCH] Bump version to 2.0.0 --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- README.md | 29 +++++++++++++++++------------ src/cli.rs | 2 +- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 259cfd2..d71d21d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -165,7 +165,7 @@ dependencies = [ [[package]] name = "sigi" -version = "1.1.0" +version = "2.0.0" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index 0beb698..f448bbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sigi" -version = "1.1.0" +version = "2.0.0" authors = ["♪ hiljusti 🎮 "] edition = "2018" license = "GPL-3.0-or-later" @@ -13,7 +13,7 @@ keywords = ["organization", "planning", "stack", "todo", "cli"] categories = ["command-line-interface", "database-implementations"] [badges] -maintenance = { status = "experimental" } +maintenance = { status = "passively-maintained" } [profile.release] codegen-units = 1 diff --git a/README.md b/README.md index 1b29bf5..adc24c1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ It's primarily intended for you to use as extra memory. Use it to organize your tasks, groceries, or the next board games you want to play. ``` -sigi 1.1.0 +sigi 2.0.0 An organizational tool. USAGE: @@ -21,32 +21,37 @@ FLAGS: -q, --quiet Omit any leading labels or symbols. Recommended for use in shell scripts -s, --silent Omit any output at all. -V, --version Prints version information - -v, --verbose Enable verbose output. + -v, --verbose Print more information, like when an item was created. [aliases: noisy] OPTIONS: - -t, --stack Manage items in a specific stack [aliases: topic, about, namespace] + -f, --format Use a programmatic format. Options include [csv, json, tsv]. Not compatible with + quiet/silent/verbose. + -t, --stack Manage items in a specific stack [aliases: topic, about, namespace] SUBCOMMANDS: - complete Move the current item to "_completed" [aliases: done, finish, fulfill] - create Create a new item [aliases: push, add, do, start, new] - delete Move the current item to "_deleted" [aliases: pop, remove, cancel, drop] - delete-all Move all items to "_deleted" [aliases: purge, pop-all, remove-all, cancel-all, drop-all] + complete Move the current item to "_history" and mark as completed. [aliases: done, finish, fulfill] + count Print the total number of items in the stack [aliases: size, length] + delete Move the current item to "_history" and mark as deleted. [aliases: pop, remove, cancel, + drop] + delete-all Move all items to "_history" and mark as deleted. [aliases: purge, pop-all, remove-all, + cancel-all, drop-all] head List the first N items [aliases: top, first] help Prints this message or the help of the given subcommand(s) - is-empty "true" if stack has no items, "false" otherwise [aliases: empty] - length Print the stack's length [aliases: count, size] + is-empty "true" if stack has zero items, "false" (and nonzero exit code) if the stack does have items + [aliases: empty] list List all items [aliases: ls, snoop, show, all] move Move current item to another stack move-all Move all items to another stack next Cycle to the next item; the current item becomes last [aliases: later, cycle, bury] - peek Show the current item (This is the default behavior when no command is given) [aliases: show] + peek Show the first item. (This is the default behavior when no command is given) [aliases: show] pick Move items to the top of stack by their number + push Create a new item [aliases: create, add, do, start, new] rot Rotate the three most-current items [aliases: rotate] swap Swap the two most-current items tail List the last N items [aliases: bottom, last] ``` -# Motivation +# The big idea _Sigi_ is the [Chamorro](https://en.wikipedia.org/wiki/Chamorro_language) word for _continue_. I hope it will help you to plan more, forget less, get things @@ -57,7 +62,7 @@ remembering things uses up [willpower](https://www.penguinrandomhouse.com/books/ I like working at a command line, and wanted a tool to free me up from trying to juggle tasks and ideas. -I also just like stacks, and stack-based languages like +I also just find that stacks, and stack-based languages like [Forth](https://en.wikipedia.org/wiki/Forth_(programming_language)) and [Factor](https://factorcode.org) are a joy to play with. diff --git a/src/cli.rs b/src/cli.rs index 89683bc..c88e495 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -6,7 +6,7 @@ use std::iter; // TODO: Get the version from Cargo.toml? (If possible, at compile time) /// The current version of the CLI. -pub const SIGI_VERSION: &str = "1.1.0"; +pub const SIGI_VERSION: &str = "2.0.0"; const DEFAULT_STACK_NAME: &str = "sigi";