-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show verbose output with -v and --verbose #502
Comments
Before reformatting to much, take a look at #PR504 or there is a single-file version (temporarily) at |
@milancurcic, @certik -- is that in the direction of what you had in mind? Does anyone know if there are any Programming Environments that use terminal emulators that do not obey ANSI in-line escape sequences? I made color the default when output it to a TTY. |
I made the default help for a plain "fpm" or "fpm --list" command more colorful for a nice first impression; and trivially colorized the general help text. A context colorizer routine would be nice. If you do "fpm build --profile release" it is a lot less verbose to see how it "should" look. There are a lot of bugzilla entries about the excessive amount of messages; and some are pretty old, so it might be a while before that goes away. So many messages it is easy to miss the important ones, but like you said "separate issue". It gets messy pretty quickly without a context colorizer so do not plan on coloring anything else that much but it came out OK. |
Idea: if a command fails, |
Per a discussion with @LKedward I think the idea is that the compile, load, and archive commands will write to a log file. Then the log file for the last command can be displayed on failure, and some way to redisplay all the messages, hopefully some way to display the logs for specified source files, and that opens up the possibility that plugin tools could post-process the logs, and maybe allow invoking an edtor and jumping to a line, etc. I think that would incorporate your suggestion; maybe needs a more formal spec but I think all the ideas will come together nicely. Of course, if gfortran did not spit out so messages this would not be so highly desirable |
I think initially proposed here.
Currently fpm prints compiler commands that it executes to the standard output, which is quite verbose. I don't think there's a way to disable it.
Such output should be enabled with
-v
or--verbose
flags, and by default only print a concise and pretty status like a progress bar. A progress bar is for a separate issue, but in the meantime fpm could just print something like:or similar.
The text was updated successfully, but these errors were encountered: