Skip to content

Commit f31e181

Browse files
committed
add shortcuts
1 parent 276206a commit f31e181

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,23 @@ func main() {
1313
Commands: []*cli.Command{
1414
{
1515
Name: "init",
16+
Aliases: []string{"i"},
1617
Usage: "Initialize a new project",
1718
UsageText: "lux init [repository]\n\n" + "Example:\n" + " lux init myproject",
1819
Action: initProject,
1920
Args: true,
2021
},
2122
{
2223
Name: "build",
24+
Aliases: []string{"b"},
2325
Usage: "Build the project",
2426
UsageText: "lux build [path/to/package]\n\n" + "Example:\n" + " lux build .",
2527
Action: buildAppCommand,
2628
Args: true,
2729
},
2830
{
2931
Name: "run",
32+
Aliases: []string{"r"},
3033
Usage: "Run the project",
3134
UsageText: "lux run [path/to/package]\n\n" + "Example:\n" + " lux run .",
3235
Action: runAppCommand,

0 commit comments

Comments
 (0)