mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 23:58:47 +00:00
Update cheatsheets
This commit is contained in:
37
grunt
Normal file
37
grunt
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# grunt
|
||||
|
||||
> A JavaScript task runner for automating processes.
|
||||
> More information: <https://github.com/gruntjs/grunt-cli>.
|
||||
|
||||
- Run the default task process:
|
||||
|
||||
`grunt`
|
||||
|
||||
- Run one or more tasks:
|
||||
|
||||
`grunt {{task1 task2 ...}}`
|
||||
|
||||
- Specify an alternative configuration file:
|
||||
|
||||
`grunt --gruntfile {{path/to/file}}`
|
||||
|
||||
- Specify an alternative base path for relative files:
|
||||
|
||||
`grunt --base {{path/to/directory}}`
|
||||
|
||||
- Specify an additional directory to scan for tasks in:
|
||||
|
||||
`grunt --tasks {{path/to/directory}}`
|
||||
|
||||
- Perform a dry-run without writing any files:
|
||||
|
||||
`grunt --no-write`
|
||||
|
||||
- Display help:
|
||||
|
||||
`grunt --help`
|
||||
Reference in New Issue
Block a user