This will make sure that the cli do whatever it needs to do before the arkos app initialize:
1 - Throw when app started not using arkos dev, we can setup a env __ARKOS_CLI=true internally
1.1 - show a guide pointing to Application was started using another tool other then 'arkos dev' please run instead 'npx arkos dev' or check how to setup it in your package.json at https://www.arkosjs.com/docs/getting-started/installation#7-set-up-packagejson-scripts
2 - Throw (on cli level) when tsx-strict is not installed on both javascript and typescript project, also point to a guide https://www.arkosjs.com/docs/getting-started/installation#2-install-required-packages
PS: all of those errors must throw using ExitError. This issue must only be addressed from 1.6 and above (current canary)
This will ensure the arkos app always run on the correct project
This will make sure that the cli do whatever it needs to do before the arkos app initialize:
1 - Throw when app started not using
arkos dev, we can setup a env __ARKOS_CLI=true internally1.1 - show a guide pointing to
Application was started using another tool other then 'arkos dev' please run instead 'npx arkos dev' or check how to setup it in your package.json at https://www.arkosjs.com/docs/getting-started/installation#7-set-up-packagejson-scripts2 - Throw (on cli level) when tsx-strict is not installed on both javascript and typescript project, also point to a guide https://www.arkosjs.com/docs/getting-started/installation#2-install-required-packages
PS: all of those errors must throw using
ExitError. This issue must only be addressed from 1.6 and above (current canary)This will ensure the arkos app always run on the correct project