Skip to content

Commit 590d23a

Browse files
committed
README.
1 parent 020cc04 commit 590d23a

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ dev <-options> [project] [arguments] ...
5454
```
5555

5656
`dev`'s custom commands are saved in the cmd directory, and the file extension
57-
must be `.bash`, In the help topic it is named **cmd-file**.
57+
must be `.bash`, In the help topic it is named **cmd-file**. In each command
58+
file, **cmd-func** is prefixed with *cmd_*.
5859

59-
In each command file, **cmd-func** is prefixed with *cmd_*.
60-
61-
## Examples
60+
## Example command
6261

6362
Create a new command to copy the following text to the file ~/dev/cmd/demo.bash:
6463

@@ -76,6 +75,8 @@ dev demo helloworld
7675

7776
In the above command, **demo** is cmd-file. **helloworld** is cmd-func.
7877

78+
> You can save all project-related commands in the cmd directory.
79+
7980
More examples, see the files in th [cmd](https://github.com/liudng/dev/tree/master/cmd) directory.
8081

8182
## Multi-project
@@ -84,6 +85,8 @@ Using dev to manage multiple projects is very easy.
8485

8586
...
8687

88+
More project examples, see the [sys](https://github.com/liudng/sys) project.
89+
8790
## Copyright
8891

8992
Copyright 2017 The dev Authors. All rights reserved.

0 commit comments

Comments
 (0)