The stat project command produces various information about a given project. It is intended to replace the --name option of lsprojects but also provide simpler output for checking specifics on a project.
Simple Output
The command should check for the presence of all the files created by initproject.
Indicate whether the project is using SCM. We could also check .repos for SCM info.
Get the current branch.
Show whether the repo is dirty.
Show disk usage.
--color option for highlighting areas of concern.
Support for PROJECTS_ON_HOLD and PROJECT_ARCHIVE.
Markdown Output
This is suitable for generating a README.markdown file. Re-use code from the old project_parser() function.
The stat project command produces various information about a given project. It is intended to replace the
--name
option oflsprojects
but also provide simpler output for checking specifics on a project.Simple Output
initproject
.--color
option for highlighting areas of concern.PROJECTS_ON_HOLD
andPROJECT_ARCHIVE
.Markdown Output
This is suitable for generating a
README.markdown
file. Re-use code from the oldproject_parser()
function.