Skip to content

Commit f24c6a4

Browse files
committed
wip
1 parent 8e3a83c commit f24c6a4

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

craft-cli.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,4 @@
22

33

44
## Introduction
5-
Craft is the command line interface shipped with Supercharge. The framework provides a handful of handy console commands that help you build your application. The console application executing the commands is called Craft.
6-
7-
If you’re in a Supercharge application, you’ll find a file called `craft`. This file includes the logic to start a console application. Start a console instance and print the list of available commands:
8-
9-
```bash
10-
node craft
11-
```
12-
13-
Craft provides a “help” overview for every command. It shows the command’s details and describes the arguments and options. Append `-h` to a command to display the help overview:
14-
15-
```bash
16-
$ node craft make:route -h
17-
Usage:
18-
make:route <filename> [options]
19-
20-
Arguments:
21-
filename Name of your route file
22-
23-
Options:
24-
25-
About:
26-
Scaffold a new route
27-
```
28-
29-
30-
## Creating Commands
31-
At this point, you can’t create and register your own Craft commands.
32-
33-
There’s an open issue asking for your help to [add this functionality](https://github.com/superchargejs/framework/issues/6). Please feel welcome to join the conversation in the issue or submit a pull request.
5+
Tba.

0 commit comments

Comments
 (0)