Now that verbose
is being deprecated in the coming version?
That doesn’t seem to make much sense and useful, I will vote against it.
- There already is
hugo version
for this. hugo
CLI separates functionalities into sub commands, flags are more like playing theoptions/configuration
role for sub commands.- This change may confuse users migrating from ealier Hugo version.
It is in line with node -v
and npm -v
. So, whether or not it makes sense is subjective.
I’m with you on this.
I’d rather rely on the usual CLI flag suspects instead of having to view the help message to determine the correct flag or subcommand.
With docker you can do any of:
docker -v
docker --version
docker version
It’s convenient when help is handled the same way:
myapp -h
myapp --help
myapp help
From a CLI perspective, consistency is nice. Using -v
is also just faster.
whether or not it makes sense is subjective.
That’s true, it’s my subjective opinion.
Using
-v
is also just faster.
@TheMet4lGod Agree, but I still believe that there is no need to implement an additional flag/approach for an infrequently used functionality, I prefer the way Go
CLI does. Anyway, it’s fine to me.
As Joe said, it is good to standardize the flags. I am one of those who tend to use hugo -v
only to remember it is hugo version
.
ERROR deprecated: --verbose was deprecated in Hugo v0.114.0 and will be removed in Hugo 0.132.0. use --logLevel info
The CLI library we use does not support this, I think. Would this new feature be worth spending many hours on?
I will just refer to this comment as a basis for consideration of this feature.