Get Custom JavaScript from Project
bs_get_jsExtract custom JavaScript files and their content from Bootstrap Studio .bsdesign files. Specify a file name to retrieve a specific script or omit to get all.
Instructions
Extract all custom JS files and their content from a .bsdesign file.
Bootstrap Studio stores custom scripts in the assets.js section. This tool retrieves them.
Args:
file_path (string): Absolute path to the .bsdesign file
file_name (string, optional): Get a specific JS file by name. If omitted, returns all JS files.
Returns: JS file names and their content blocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | Specific JS file name | |
| file_path | Yes | Absolute path to the .bsdesign file |