24
24
25
25
26
26
27
- :code: `deb_package(name) `
28
- ~~~~~~~~~~~~~~~~~~~~~~~~~
27
+ :code: `deb_package `
28
+ ~~~~~~~~~~~~~~~~~~~
29
29
30
30
31
31
Returns information on a .deb file.
@@ -93,53 +93,53 @@ Devices
93
93
Files
94
94
-----
95
95
96
- :code: `directory(name) `
97
- ~~~~~~~~~~~~~~~~~~~~~~~
96
+ :code: `directory `
97
+ ~~~~~~~~~~~~~~~~~
98
98
99
99
100
- :code: `file(name) `
101
- ~~~~~~~~~~~~~~~~~~
100
+ :code: `file `
101
+ ~~~~~~~~~~~~
102
102
103
103
104
- :code: `find_directories(name) `
105
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104
+ :code: `find_directories `
105
+ ~~~~~~~~~~~~~~~~~~~~~~~~
106
106
107
107
108
108
Returns a list of directories from a start point, recursively using find.
109
109
110
110
111
111
112
- :code: `find_files(name) `
113
- ~~~~~~~~~~~~~~~~~~~~~~~~
112
+ :code: `find_files `
113
+ ~~~~~~~~~~~~~~~~~~
114
114
115
115
116
116
Returns a list of files from a start point, recursively using find.
117
117
118
118
119
119
120
- :code: `find_in_file(name) `
121
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
120
+ :code: `find_in_file `
121
+ ~~~~~~~~~~~~~~~~~~~~
122
122
123
123
124
124
Checks for the existence of text in a file using grep. Returns a list of matching
125
125
lines if the file exists, and ``None `` if the file does not.
126
126
127
127
128
128
129
- :code: `find_links(name) `
130
- ~~~~~~~~~~~~~~~~~~~~~~~~
129
+ :code: `find_links `
130
+ ~~~~~~~~~~~~~~~~~~
131
131
132
132
133
133
Returns a list of links from a start point, recursively using find.
134
134
135
135
136
136
137
- :code: `link(name) `
138
- ~~~~~~~~~~~~~~~~~~
137
+ :code: `link `
138
+ ~~~~~~~~~~~~
139
139
140
140
141
- :code: `sha1_file(name) `
142
- ~~~~~~~~~~~~~~~~~~~~~~~
141
+ :code: `sha1_file `
142
+ ~~~~~~~~~~~~~~~~~
143
143
144
144
145
145
Returns a SHA1 hash of a file. Works with both sha1sum and sha1.
165
165
Git
166
166
---
167
167
168
- :code: `git_branch(name) `
169
- ~~~~~~~~~~~~~~~~~~~~~~~~
168
+ :code: `git_branch `
169
+ ~~~~~~~~~~~~~~~~~~
170
170
171
171
172
172
Init
232
232
Npm
233
233
---
234
234
235
- :code: `npm_local_packages(directory) `
236
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235
+ :code: `npm_local_packages `
236
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
237
237
238
238
239
239
Returns a dict of locally installed npm packages in a given directory:
274
274
275
275
276
276
277
- :code: `pip_virtualenv_packages(venv) `
278
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277
+ :code: `pip_virtualenv_packages `
278
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279
279
280
280
281
281
Pkg
@@ -301,8 +301,8 @@ Server
301
301
~~~~~~~~~~~~
302
302
303
303
304
- :code: `command(command) `
305
- ~~~~~~~~~~~~~~~~~~~~~~~~
304
+ :code: `command `
305
+ ~~~~~~~~~~~~~~~
306
306
307
307
308
308
:code: `date `
@@ -373,8 +373,8 @@ Returns the current datetime on the server.
373
373
374
374
375
375
376
- :code: `which(name) `
377
- ~~~~~~~~~~~~~~~~~~~
376
+ :code: `which `
377
+ ~~~~~~~~~~~~~
378
378
379
379
380
380
Yum
393
393
394
394
395
395
396
- :code: `rpm_package(name) `
397
- ~~~~~~~~~~~~~~~~~~~~~~~~~
396
+ :code: `rpm_package `
397
+ ~~~~~~~~~~~~~~~~~~~
398
398
399
399
400
400
Returns information on a .rpm file.
0 commit comments