From ad9acb7487b8a87f0d38663e272980f4f3255e20 Mon Sep 17 00:00:00 2001 From: Muhammad Aviv Burhanudin Date: Fri, 10 Mar 2023 13:35:33 +0700 Subject: [PATCH] update to v0.1.1 Signed-off-by: Muhammad Aviv Burhanudin --- README.md | 25 ++++++++++++++++++++----- gist.nimble | 2 +- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index af39cb1..edfa0aa 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,10 @@ [![Build-Test](https://github.com/aerphanas/gist-utils/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/aerphanas/gist-utils/actions/workflows/main.yml) gist on terminal -[![asciicast](https://asciinema.org/a/k28htZzmKwBQx7CAd0l99tyuC.svg)](https://asciinema.org/a/k28htZzmKwBQx7CAd0l99tyuC) - ## feature - get github gist list -- create github gist (need github token set to GITHUB_GIST_TOKEN env) +- create github gist (github token set GITHUB_GIST_TOKEN env) ## compile @@ -18,15 +16,32 @@ nimble build ## run +```sh + ./gist +Copyright (c) 2023 by aerphanas + +gist [Options] + +Options: + --public:GITHUB_USERNAME show all public github gist item + --uname:GITHUB_USERNAME show all github gist item (need github token) + --create:DESCRIPTION FILENAME create github gist with description and file (need github token) +``` + ### list all public gist ``` sh +./gist --public:aerphanas +``` + +### list gist (need git token) + +```sh ./gist --uname:aerphanas ``` -### create new gist +### create new gist (need git token) ```sh -export GITHUB_GIST_TOKEN= ./gist --create: ``` diff --git a/gist.nimble b/gist.nimble index 7744fff..28f5f3c 100644 --- a/gist.nimble +++ b/gist.nimble @@ -1,6 +1,6 @@ # Package -version = "0.1.0" +version = "0.1.1" author = "Muhammad Aviv Burhanudin" description = "Github Gist on terminal" license = "BSD-3-Clause"