Skip to content
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

Revamped alr version output #852

Merged
merged 4 commits into from
Sep 16, 2021
Merged

Revamped alr version output #852

merged 4 commits into from
Sep 16, 2021

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Sep 16, 2021

Fixes #833
Fixes #607 (but for the alr --version flag, which I guess will be simpler to do with aliases)

Example of the new output:

$ alr version
APPLICATION                                                                                   
alr version:            1.1.0-rc3                                                             
libalire version:       1.1.0-rc3                                                             
compilation date:       2021-09-16 12:15:56                                                   
compiler version:       Community 2021 (20210519-103)                                         
                       
CONFIGURATION          
config folder:          /home/jano/.config/alire                                              
force flag:             FALSE                                                                 
non-interactive flag:   FALSE                                                                 
community index branch: devel-1.1                                                             
indexes folder:         /home/jano/.config/alire/indexes                                      
indexes metadata:       OK                                                                    
index #1:               (community) git+https://github.com/alire-project/alire-index#devel-1.1
toolchain assistant:    disabled                                                              
tool #1 gnat:           gnat_external=2021.0.0                                                
tool #2 gprbuild:       not configured                                                        
                       
WORKSPACE              
root status:            VALID                                                                 
root release:           alr=1.1.0-dev                                                         
root load error:        none                                                                  
root folder:            /home/jano/prog/alire                                                 
current folder:         /home/jano/prog/alire/testsuite                                       
                       
SYSTEM                 
distribution:           UBUNTU                                                                
os:                     LINUX                                                                 
target:                 NATIVE                                                                
toolchain:              USER                                                                  
word-size:              BITS_64

@mosteo mosteo marked this pull request as ready for review September 16, 2021 11:18
@mosteo mosteo merged commit 40af47f into master Sep 16, 2021
@mosteo mosteo deleted the fix/version branch September 16, 2021 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show configured toolchain in alr version Improve the formatting of alr version
2 participants