Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ohtomi committed Feb 3, 2017
1 parent 852ce55 commit 6d867d6
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,6 @@ title having whitespaces
$ scrapbox list go-scrapbox english paren
title having paren ( ) mark

$ scrapbox list --tags go-scrapbox english
title having paren ( ) mark --- #english #no-url #whitespace #no-slash #paren #no-plus #no-question
title having plus + mark --- #english #no-url #whitespace #no-slash #no-paren #plus #no-question
title having question ? mark --- #english #no-url #whitespace #no-slash #no-paren #no-plus #question
title having slash / mark --- #english #no-url #whitespace #slash #no-paren #no-plus #no-question
title having whitespaces --- #english #no-url #whitespace #no-slash #no-paren #no-plus #no-question

$ scrapbox read --no-cache go-scrapbox "title having paren ( ) mark"
title having paren ( ) mark
#english #no-url #whitespace #no-slash #paren #no-plus #no-question

$ scrapbox open go-scrapbox "title having paren ( ) mark"
https://scrapbox.io/go-scrapbox/title%20having%20paren%20(%20)%20mark

Expand All @@ -52,6 +41,7 @@ https://www.google.com

- `SCRAPBOX_TOKEN`: specify `token` instead of `--token` option.
- `SCRAPBOX_HOST`: specify `host` instead of `--host` option.
- `SCRAPBOX_EXPIRATION`: specify `expire` instead of `--expire` option.

### Private Project

Expand All @@ -69,6 +59,14 @@ To access Scrapbox Enterprise, use `--host` option:
$ scrapbox <sub command> --host http://host:port <arguments>
```

### Local Cache Control

To ignore local caches, set `expire` to zero:

```bash
$ scrapbox <sub command> --expire <expiration> <arguments>
```

## Install

To install, use `go get`:
Expand Down

0 comments on commit 6d867d6

Please sign in to comment.