Describe the bug
Running toit pkg install <pkg> in a empty folder suggests using a command that does not exists to create it:
To reproduce
Steps to reproduce the behavior:
create a empty folder
try installing a package
perform the suggested action for the error message
Expected behavior
The error should contain a correct suggestion
Screenshots
$ toit pkg install github.com/toitware/mqtt
Error: Command must be executed in project root.
Run 'pkg init --app' first to create a new application here, or
Run with '--project-root': </snip>
$ toit pkg init --app
Error: unknown flag: --app
SDK and console version (please complete the following information):
Describe the bug Running
toit pkg install <pkg>
in a empty folder suggests using a command that does not exists to create it:To reproduce Steps to reproduce the behavior:
Expected behavior The error should contain a correct suggestion
Screenshots
SDK and console version (please complete the following information):