Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

30
tldr/lebab Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# lebab
> A JavaScript modernizer for transpiling code to ES6/ES7.
> Transformations must be provided for all examples.
> More information: <https://github.com/lebab/lebab>.
- Transpile using one or more comma-separated transformations:
`lebab --transform {{transformation1,transformation2,...}}`
- Transpile a file to `stdout`:
`lebab {{path/to/input_file}}`
- Transpile a file to the specified output file:
`lebab {{path/to/input_file}} --out-file {{path/to/output_file}}`
- Replace all `.js` files in-place in the specified directory, glob or file:
`lebab --replace {{directory|glob|file}}`
- Display help:
`lebab --help`