Skip to content

Commit

Permalink
update to v0.1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Aviv Burhanudin <muhamadaviv14@gmail.com>
  • Loading branch information
aerphanas committed Mar 10, 2023
1 parent b5b8ce6 commit ad9acb7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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=<your token>
./gist --create:<description> <file>
```
2 changes: 1 addition & 1 deletion gist.nimble
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit ad9acb7

Please sign in to comment.