Commandr / Resource-fs
These FAQs briefly summarise key points on using Composr's command-line environment "Commandr" and its virtual filesystem.
For more information, check out these tutorials:
For more information, check out these tutorials:
Question | What is Commandr? |
---|---|
Answer | Commandr is a command-line interface designed for experienced system administrators who prefer using a command line over a GUI. It supplements the Composr Admin Zone, allowing you to execute commands in the form of:
You can access Commandr via the Admin Zone > Tools > Commandr or using the Commandr button in the footer. |
Question | What is the Composr Repository? |
---|---|
Answer | The Composr repository is a user-friendly representation of Composr's data, which is typically stored in a database and on the filesystem. It presents the data in an easily accessible format using the JSON standard and can be accessed as a folder on your computer via WebDAV. |
Question | What are the benefits of using the Composr Repository? |
---|---|
Answer | The repository offers several benefits:
|
Question | How is the Composr Repository structured? |
---|---|
Answer | The repository is structured as a filesystem with various meta-filesystems mounted under a root directory. These meta-filesystems include:
|
Question | How can I access the Composr Repository? |
---|---|
Answer | You can access the repository using WebDAV (non-bundled addon), which allows you to view it as a folder on your computer. Composr uses the SabreDAV PHP library for WebDAV functionality. However, please be aware that SabreDAV is deprecated and may not function correctly on newer PHP versions. |
Question | What are the limitations of the Composr Repository? |
---|---|
Answer | While powerful, the repository has limitations:
|
Question | What precautions should I take when using the Composr Repository? |
---|---|
Answer | Exercise caution when working with the repository:
|
Question | Can I use Comcode / resource IDs directly when working with the repository? |
---|---|
Answer | Using Comcode / resource IDs directly is not recommended as they may not match between different sites. Use GUIDs instead, which Composr automatically substitutes for IDs before parsing Comcode. You can use Commandr commands like find_guid_via_id to find the GUID for specific resources. |