Description
This is a feature request. As an alternative to the message "You have to be inside an angular-cli project", instead CLI could offer a subset of it capabilities even in non-CLI projects.
To do this, CLI would note the absence of CLI configuration files, print message about this, then make assumptions based on defaults and on what files/directories are present.
With these assumptions, CLI could provide a useful subset of its full feature set. It could generate components and most other types. Skip lacing up any aspect which can't be done without full CLI config.
Over time it might be possible to do even more than generate, some other features may be possible in non-CLI projects also.
In addition to offering value to non-CLI projects, this feature could also encourage CLI adoption. It would provide an easy on-ramp: any existing project can start using CLI immediately, but with each use, CLI can print messages about extra things it could have done, if the project was a full CLI project.