newt pkg¶
Commands for creating and manipulating packages.
Usage:¶
newt pkg [command] [flags]
Flags:¶
-t, --type string Type of package to create: app, bsp, lib, sdk, unittest. (default "lib")
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 pkg command provides subcommands to create and manage packages. The subcommands take one or two package-name
arguments.
Sub-command |
Explanation |
---|---|
copy |
The copy <src-pkg> <dst-pkg> command creates the new |
move |
The move <old-pkg> <new-pkg> command moves the |
new |
The new <new-pkg> command creates a new package named |
remove |
The remove <my-pkg> command deletes the |
Examples¶
Sub-command |
Usage |
Explanation |
---|---|---|
copy |
|
Copies the |
move |
|
Moves the |
new |
|
Creates a package named |
new |
|
Creates a package named |
remove |
|
Removes the |