github.com/hwaf/hwaf@v0.0.0-20140814122253-5465f73b20f1/cmd_waf_show.go (about)

     1  package main
     2  
     3  import (
     4  	"github.com/gonuts/commander"
     5  	"github.com/gonuts/flag"
     6  )
     7  
     8  func hwaf_make_cmd_waf_show() *commander.Command {
     9  	cmd := &commander.Command{
    10  		UsageLine: "show [options]",
    11  		Short: "show informations about packages and projects",
    12  		Subcommands: []*commander.Command{
    13  			hwaf_make_cmd_waf_show_active_tags(),
    14  			hwaf_make_cmd_waf_show_aliases(),
    15  			hwaf_make_cmd_waf_show_constituents(),
    16  			hwaf_make_cmd_waf_show_default_variant(),
    17  			hwaf_make_cmd_waf_show_flags(),
    18  			hwaf_make_cmd_waf_show_platform(),
    19  			hwaf_make_cmd_waf_show_projects(),
    20  			hwaf_make_cmd_waf_show_project_name(),
    21  			hwaf_make_cmd_waf_show_project_version(),
    22  			hwaf_make_cmd_waf_show_pkg_uses(),
    23  			hwaf_make_cmd_waf_show_pkg_tree(),
    24  			hwaf_make_cmd_waf_show_setup(),
    25  			hwaf_make_cmd_waf_show_variant(),
    26  		},
    27  		Flag: *flag.NewFlagSet("hwaf-show", flag.ExitOnError),
    28  	}
    29  	return cmd
    30  }
    31  
    32  // EOF