niti: use get_mmodule_by_name instead of the low-level load_module

Signed-off-by: Jean Privat <jean@pryen.org>
loader: `load_module` no mode automatically computes the importation

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: reuse ProjTree::display for the simple list

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: shows the synopsys of modules and groups by default

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: make -d and -r usable together

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: use color when listing things

Signed-off-by: Jean Privat <jean@pryen.org>
loader: add MGroup::is_interesting

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: --tree do not show uninterresting groups

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: display dependancies if -d is given

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: correctly sort by names with --tree

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: document projects

Signed-off-by: Jean Privat <jean@pryen.org>
loader: identify_file does not print errors

Signed-off-by: Jean Privat <jean@pryen.org>
loader: identify_file use -I for names without path

Signed-off-by: Jean Privat <jean@pryen.org>
loader: add visit_group

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: work on . by default

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: reuse the entity sorter for all output

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: use tree-output if one of the argument is a group

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: visit group for relevant outputs

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: look at files of a directories when they are not groups (eg lib/ or contrib/)

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update sav/nitls

Signed-off-by: Jean Privat <jean@pryen.org>