Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborsimon committed Jul 7, 2016
1 parent 87151bb commit 6fdbcc8
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,24 @@ my_command:

The command description will be added to the generated manual. It behaves the same as the main description, except it requires an indentation in any way (space, tab, count doesn't matter).

If a command is redefined in another __Projectfile__, the command descriptions will be appended according to the path relationship of these files.
If a command is redefined in another __Projectfile__, the command descriptions will be appended according to the path relationship of these files.

## Template Projectfile
## Command body

_mandatory_

```
...
my_command:
command1
command2
...
```

The command body defines what commands __projects__ needs to execute if you invoke the given command with the `p <command>` syntax inside your project directory. Commands needs to be indented in any way (at least one space). __projects__ will execute all given commands line by line.


# Template Projectfile

The following __Projectfile__ can be generated with the `p (-i|--init)` command:

Expand Down Expand Up @@ -356,21 +371,6 @@ hello|h: [a]
This manual is displayed in a pager, so you can exit with the `q` key.


## Command body

_mandatory_

```
...
my_command:
command1
command2
...
```

The command body defines what commands __projects__ needs to execute if you invoke the given command with the `p <command>` syntax inside your project directory. Commands needs to be indented in any way (at least one space). __projects__ will execute all given commands line by line.


# Projectfile examples

Simple example
Expand Down

0 comments on commit 6fdbcc8

Please sign in to comment.