This commit is contained in:
kyodev 2018-06-20 14:53:30 +02:00
parent 9812ffeac0
commit 7df84ab417
1 changed files with 78 additions and 0 deletions

78
docs/scripts/pastit.md Normal file
View File

@ -0,0 +1,78 @@
# 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)