newt target¶
Commands to create, delete, configure and query targets.
Usage:¶
newt target [command] [flags]
Available Commands:¶
amend       Add, change, or delete values for multi-value target variables
config      View or populate a target's system configuration settings
copy        Copy target
create      Create a target
delete      Delete target
dep         View target's dependency graph
revdep      View target's reverse-dependency graph
set         Set target configuration variable
show        View target configuration variables
Global Flags:¶
-h, --help              Help for newt commands
-j, --jobs int          Number of concurrent build jobs (default 8)
-l, --loglevel string   Log level (default "WARN")
-o, --outfile string    Filename to tee output to
-q, --quiet             Be quiet; only display error output
-s, --silent            Be silent; don't output anything
-v, --verbose           Enable verbose output when executing commands
Description¶
The target command provides subcommands to create, build, delete, and query targets. The subcommands take one or two target-name arguments.
| Sub-command | Explanation | 
|---|---|
| amend | The amend command allows you to add, change, or delete values for multi-value target variables that you
have set with the  
 Specify the  The following multi-value variables can be amended:  The  
 | 
| config | The config command allows you to view or populate a target’s system configuration settings.
A target’s system configuration settings include the settings of all the packages it includes.
The settings for a package are listed in the package’s  | 
| copy | The copy <src-target> <dst-target> command creates a new target named  | 
| create | The create <target-name> command creates an empty target named  | 
| delete | The delete <target-name> command deletes the description for the  | 
| dep | The dep <target-name> command displays a dependency tree for the packages that the  | 
| revdep | The revdep <target-name> command displays the reverse dependency tree for the packages that the
 | 
| set | The set <target-name> <var-name=var-value> [var-name=var-value…] command sets variables (attributes) for the <target-name> target. The set command overwrites your current variable values. The valid  The  
 You can specify  Warning: For multi-value variables, the command overrides all existing values. Use
the  To display all the existing values for a target variable (attribute), you can run the  | 
| show | The show [target-name] command shows the values of the variables (attributes) for the  | 
Examples¶
| Sub-command | Usage | Explanation | 
|---|---|---|
| amend | 
 | Changes (or adds) the  | 
| amend | 
 | Deletes the  | 
| config show | 
 | Shows the system configuration settings for all the packages that the  | 
| config init | 
 | Creates and populates the  | 
| copy | 
 | Creates the  | 
| create | 
 | Creates the  | 
| delete | 
 | Deletes the  | 
| dep | 
 | Displays the dependency tree of all the package dependencies for the  | 
| revdep | 
 | Displays the reverse dependency tree of all the package dependencies for the  | 
| set | 
 | Use  | 
| set | 
 | Set  | 
| set | 
 | Sets the  | 
| set | 
 | Unsets the  | 
| show | 
 | Shows all variable settings for the  | 
| show | 
 | Shows all the variable settings for all the targets defined for the project. | 
