mirror of https://framagit.org/kyodev/kyopages.git
79 lines
1.8 KiB
Markdown
79 lines
1.8 KiB
Markdown
|
# pastit
|
||
|
|
||
|
![version: 0.3.1](https://img.shields.io/badge/version-0.3.1-blue.svg?longCache=true&style=for-the-badge)
|
||
|
![bash langage](https://img.shields.io/badge/bash-version4-brightgreen.svg)
|
||
|
![license LPRAB / WTFPL](https://img.shields.io/badge/license-LPRAB%20%2F%20WTFPL-blue.svg)
|
||
|
|
||
|
|
||
|
## chargement et lancement du script:
|
||
|
|
||
|
```shell
|
||
|
wget -nv -O pastit https://framaclic.org/h/pastit
|
||
|
chmod +x pastit
|
||
|
```
|
||
|
|
||
|
|
||
|
## utilisation
|
||
|
|
||
|
```shell
|
||
|
./pastit LICENSE.md
|
||
|
```
|
||
|
```text
|
||
|
____ _ _ _ _
|
||
|
| _ \ __ _ ___| |_( |_) |_
|
||
|
| |_) / _' / __| __|/| | __|
|
||
|
| __/ (_| \__ \ |_ | | |_
|
||
|
|_| \__,_|___/\__| |_|\__|
|
||
|
version 0.3.0 - 19/06/2018
|
||
|
|
||
|
fichier markdown
|
||
|
lien paste: https://www.pastery.net/hctntk/ (valide pendant 7 jours)
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
## help
|
||
|
|
||
|
```shell
|
||
|
./pastit -h
|
||
|
```
|
||
|
```text
|
||
|
____ _ _ _ _
|
||
|
| _ \ __ _ ___| |_( |_) |_
|
||
|
| |_) / _' / __| __|/| | __|
|
||
|
| __/ (_| \__ \ |_ | | |_
|
||
|
|_| \__,_|___/\__| |_|\__|
|
||
|
version 0.3.0 - 19/06/2018
|
||
|
|
||
|
Usage:
|
||
|
pastit [options] <file>
|
||
|
|
||
|
Options:
|
||
|
-h , --help : cette aide
|
||
|
|
||
|
-i, --install : installation (root requis)
|
||
|
-r, --remove : désinstallation (root requis)
|
||
|
-u, --upgrade : provoque le chargement et le remplacement du script installé (root requis)
|
||
|
-v, --version : version du script en ligne et en place
|
||
|
|
||
|
--debug-paste : affichage retour json de de l'export sur pastebin
|
||
|
--dev : une version de dev du script (si existante) est recherchée
|
||
|
-t n, --time n : temps de conservation du paste, par défaut 7 jours
|
||
|
|
||
|
plus d'infos: https://framaclic.org/h/doc-pastit"
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
## sources
|
||
|
|
||
|
[framagit (gitlab) (framasoft service)](https://framagit.org/sdeb/pastit/blob/master/pastit)
|
||
|
|
||
|
|
||
|
## license
|
||
|
|
||
|
* [LPRAB / WTFPL](https://framagit.org/sdeb/pastit/blob/master/LICENSE.md)
|
||
|
|
||
|
|
||
|
![compteur](https://framaclic.org/h/pastit-gif)
|