mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-29 17:38:12 -07:00
Display usage when no args.
This commit is contained in:
parent
fe8ab78bdd
commit
172e0ac6a1
2 changed files with 6 additions and 1 deletions
|
@ -109,6 +109,8 @@ private class Main @Inject constructor(
|
|||
//
|
||||
Wrapper().install()
|
||||
ProjectGenerator().run(args)
|
||||
} else if (args.usage || args.targets.isEmpty()) {
|
||||
jc.usage()
|
||||
} else {
|
||||
if (! buildFile.exists()) {
|
||||
jc.usage()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue