tibet-package(1) -- list package assets either as asset paths or nodes

SYNOPSIS

tibet package [[--profile <pkgcfg>] | [--package <package>] [--config <cfg>]] [--phase=['all'|'one'|'two'|'app'|'lib']] [--add <file_list>] [--remove <file_list>] [--all] [--unresolved] [--unlisted] [--inlined] [--building] [--include <asset names>] [--exclude <asset names>] [--scripts] [--resources] [--images] [--silent] [--fix] [--verbose] [--stack]

DESCRIPTION

Outputs a list of package assets either as asset nodes or asset paths.

This command is a useful way to view the files TIBET will load or process via commands such as tibet rollup or tibet lint. The best way to get a sense of this command is to run it with various options, of which there are many.

You generally don't need to run this command yourself, most operations around packaging, rollups, minification, etc. are managed by the various tibet make targets which support build operations in various forms. See the files in your project's ~app_cmd/make directory for specifics.

The underlying machinery of the package command is shared by a number of other TIBET commands, all of which leverage TIBET's application package/config files. This includes the rollup, resources, and lint commands as well as any command line which launches TIBET headlessly to leverage reflection.

Note that this command can also take a set of open-ended options that correspond to config 'boot.' properties. So, for instance, '--boot.minified=false' can be supplied on the command line and this will set the appropriate boot property.

OPTIONS

CONFIGURATION SETTINGS

ENVIRONMENT VARIABLES

No process environment variables are required by this command.

EXAMPLES

List known resources from the current application package

$ tibet package

~app_src/APP.sample.js
~app_src/APP.sample.Application.js
~app_tags/APP.sample.app/APP.sample.app.js

List resources from a specific package@config pair

$ tibet package --profile development@developer

~app_src/APP.sample.js
~app_src/APP.sample.Application.js
~app_tags/APP.sample.app/APP.sample.app.js
~app_test/APP_test.js
~app_tags/APP.sample.app/APP.sample.app_test.js

Here we see that the test files for our application are now listed.

List resources from a specific package@config pair for APP and LIB

$ tibet package --profile development@developer --context all

~lib_build/tibet_developer.min.js
~app_src/APP.sample.js
~app_src/APP.sample.Application.js
~app_tags/APP.sample.app/APP.sample.app.js
~app_test/APP_test.js
~app_tags/APP.sample.app/APP.sample.app_test.js

Note that with --context all we now see library resources (in this case tibet_developer.min.js) as well as our application's resources.

TIBET SHELL

This command has no client-side TSH peer command.

TROUBLESHOOTING

SEE ALSO