Skip to content

Commit ddafe66

Browse files
authored
Merge pull request #80 from WebFreak001/fix-52
add first-steps summary to reiterate on commands
2 parents 26998b2 + bdd4d3e commit ddafe66

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/getting-started/first-steps.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,22 @@ To get the package, run [`dub fetch <package name>`](../cli-reference/dub-fetch.
9292
## Publishing packages
9393

9494
To publish your own packages, just create a new package with a valid package recipe like above (see the [package recipe specification](../dub-reference/recipe.md)) and follow the instructions on the [publishing packages](../dub-guide/publishing.md) page.
95+
96+
---
97+
98+
!!! success "Summary"
99+
100+
These are the most commonly used commands you will use with DUB:
101+
102+
```sh
103+
# builds the project in the current folder
104+
$ dub build
105+
106+
# builds & runs the project in the current folder
107+
$ dub run
108+
# or shorthand equivalent:
109+
$ dub
110+
111+
# asks to download "someapp" from the registry and runs it
112+
$ dub run someapp
113+
```

0 commit comments

Comments
 (0)