From 972a30f82332145e6e14661ed114a41c9f100eee Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 16 Mar 2020 14:13:29 +0800 Subject: Add todo item --- gist | 1 + 1 file changed, 1 insertion(+) diff --git a/gist b/gist index 8c0710d..dbb29d5 100755 --- a/gist +++ b/gist @@ -479,6 +479,7 @@ for comment in raw: ' } +# TODO add parameter --comment to fetch comments _show_detail() { _gist_id "$1" || return 1 record=$(sed -ne "/^$1 / p" $INDEX) -- cgit v1.2.3-70-g09d2 From f9ee86b488a3a86f0e6f995c6dab53e1e3cbd484 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 16 Mar 2020 15:09:16 +0800 Subject: Add todo item for color --- gist | 1 + 1 file changed, 1 insertion(+) diff --git a/gist b/gist index dbb29d5..8274749 100755 --- a/gist +++ b/gist @@ -251,6 +251,7 @@ _check_repo_status() { # Show the list of gist, but not updated time # show username for starred gist +# TODO color private/starred mark _show_list() { if [[ ! -e $INDEX ]]; then echo 'No local file found for last update, please run command:' -- cgit v1.2.3-70-g09d2 From 54600dfdb86d5754ec6fa827438c97734ce195cf Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 16 Mar 2020 15:21:43 +0800 Subject: Add todo item for subcommand tag --- gist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gist b/gist index 8274749..6524bf0 100755 --- a/gist +++ b/gist @@ -39,6 +39,8 @@ # Since now a gist is a local cloned repo # It is your business to do git commit and git push +# TODO subcommand tag for #TAG in description + currentVersion="1.23.0" configuredClient="" -- cgit v1.2.3-70-g09d2 From f9e0764e889430adafa93ca78a775b43a2cb5d29 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 16 Mar 2020 17:07:21 +0800 Subject: Add item for grep option --- gist | 1 + 1 file changed, 1 insertion(+) diff --git a/gist b/gist index 6524bf0..6b40d5b 100755 --- a/gist +++ b/gist @@ -279,6 +279,7 @@ _show_list() { } # TODO support filenames, file contents +# TODO add option to configure case-sensitive _grep_content() { if [[ -z $1 ]]; then echo 'Please give a pattern' && return 1; fi while read -r index url _ _ _ _ _ _ description; do -- cgit v1.2.3-70-g09d2 From ca95437407c19202e2be01e21565468515d95e39 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 16 Mar 2020 17:47:54 +0800 Subject: Add item for gh-page --- gist | 1 + 1 file changed, 1 insertion(+) diff --git a/gist b/gist index 6b40d5b..197796a 100755 --- a/gist +++ b/gist @@ -40,6 +40,7 @@ # It is your business to do git commit and git push # TODO subcommand tag for #TAG in description +# TODO migrate to gh-page, with install.sh and check_md5 in README currentVersion="1.23.0" configuredClient="" -- cgit v1.2.3-70-g09d2