Project assets are any file or collection of files that are used in project delivery. An asset is not generally something that a client provides or updates. Examples include images, video, CSS, fonts, and icons.
Commands
This enhancement would create support for managing assets before and during production. Possible commands include:
lsassets [project] for listing assets for a particular project. Or if project is omitted, list available assets in ASSETS_HOME. Project assets are stored in the top-level assets/ directory or under source/assets/.
cpasset <asset> <project> to copy an asset from the library to a given project. This should also register that the asset has been used in the project for future reference.
statasset <asset> [project] to get asset information. If a project is given, the asset info will be drawn from the project, if possible.
rmasset <asset> <project> to remove an asset from a given project and de-register it's use with the asset library.
Files and Directories
The asset library is stored in ASSETS_HOME. We should try to support archiving of files if possible so that only the meta data is stored locally. The structure of the library should be flat:
Project assets are any file or collection of files that are used in project delivery. An asset is not generally something that a client provides or updates. Examples include images, video, CSS, fonts, and icons.
Commands
This enhancement would create support for managing assets before and during production. Possible commands include:
lsassets [project]
for listing assets for a particular project. Or if project is omitted, list available assets inASSETS_HOME
. Project assets are stored in the top-levelassets/
directory or undersource/assets/
.cpasset <asset> <project>
to copy an asset from the library to a given project. This should also register that the asset has been used in the project for future reference.statasset <asset> [project]
to get asset information. If a project is given, the asset info will be drawn from the project, if possible.rmasset <asset> <project>
to remove an asset from a given project and de-register it's use with the asset library.Files and Directories
The asset library is stored in
ASSETS_HOME
. We should try to support archiving of files if possible so that only the meta data is stored locally. The structure of the library should be flat:An INI file is used to store meta data:
The
register.csv
records the projects that have utilized the asset: