Skip to content

Commit c3297e1

Browse files
authored
Merge pull request #5 from neonexus/master
Rebuilt table in scripts README.
2 parents dbe69fa + 32013e9 commit c3297e1

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

scripts/README.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ To run scripts in Sails >v1, one just needs to `sails run SCRIPT_NAME`, where `S
44

55
## Current Scripts
66

7-
Script Name | Command | Inputs | Description
8-
----------------|---------|--------|-----
9-
Create Admin | `sails run create-admin` | <ul><li>`--email='user@domain.com'`</li><li>`--firstName='First'`</li><li>`--lastName='Last'`</li><li>`--password='myPass'`</li> | Create an ADMIN user in the configured datastore. Can only be run once; for safety, if there is an active admin user found, the script will halt. The API endpoints must be used from that point forward.
7+
<table>
8+
<thead>
9+
<th>Script Name</th>
10+
<th>Command</th>
11+
<th>Inputs</th>
12+
<th>Description</th>
13+
</thead>
14+
<tbody>
15+
<td nowrap>Create Admin</td>
16+
<td nowrap>`sails run create-admin`</td>
17+
<td nowrap>
18+
<ul>
19+
<li><code>--email='user@domain.com'</code></li>
20+
<li><code>--firstName='First'</code></li>
21+
<li><code>--lastName='Last'</code></li>
22+
<li><code>--password='myPass'</code></li>
23+
</ul>
24+
</td>
25+
<td>
26+
Create an ADMIN user in the configured datastore. Can only be run once; for safety, if there is an active admin user found, the script will halt. The API endpoints must be used from that point forward.
27+
</td>
28+
</tbody>
29+
</table>

0 commit comments

Comments
 (0)